[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Table/ -> ContentType.php (summary)

Joomla! Content Management System

Copyright: (C) 2013 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 158 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ContentType:: (6 methods):
  __construct()
  check()
  store()
  fieldmapExpand()
  getTypeId()
  getContentTable()


Class: ContentType  - X-Ref

Tags table

__construct(DatabaseDriver $db)   X-Ref
Constructor

param: DatabaseDriver  $db  A database connector object

check()   X-Ref
Overloaded check method to ensure data integrity.

return: boolean  True on success.

store($updateNulls = false)   X-Ref
Overridden Table::store.

param: boolean  $updateNulls  True to update fields even if they are null.
return: boolean  True on success.

fieldmapExpand($assoc = true)   X-Ref
Method to expand the field mapping

param: boolean  $assoc  True to return an associative array.
return: mixed  Array or object with field mappings. Defaults to object.

getTypeId($typeAlias)   X-Ref
Method to get the id given the type alias

param: string  $typeAlias  Content type alias (for example, 'com_content.article').
return: mixed  type_id for this alias if successful, otherwise null.

getContentTable()   X-Ref
Method to get the Table object for the content type from the table object.

return: mixed  Table object on success, otherwise false.



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer