Back to Joomla project (class list)

Class ContentType - list of methods

Tags table

Extends

Package: Joomla\CMS\Table
Copyright: (C) 2013 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Table/ContentType.php
Project: Joomla

Method Summary

public
(\Joomla\Database\DatabaseDriver $db)

Constructor
Parameters
  • \Joomla\Database\DatabaseDriver $db A database connector object
Since
  • 3.1
Show source code of this method: __construct Source Code

public bool
()

Overloaded check method to ensure data integrity.
Returns
  • bool True on success.
Since
  • 3.1
-
  • \UnexpectedValueException
Show source code of this method: check Source Code

public bool
(mixed $updateNulls = false)

Overridden Table::store.
Parameters
  • bool $updateNulls True to update fields even if they are null.
Returns
  • bool True on success.
Since
  • 3.1
Show source code of this method: store Source Code

public mixed
(mixed $assoc = true)

Method to expand the field mapping
Parameters
  • bool $assoc True to return an associative array.
Returns
  • mixed Array or object with field mappings. Defaults to object.
Since
  • 3.1
Show source code of this method: fieldmapExpand Source Code

public mixed
(mixed $typeAlias)

Method to get the id given the type alias
Parameters
  • string $typeAlias Content type alias (for example, 'com_content.article').
Returns
  • mixed type_id for this alias if successful, otherwise null.
Since
  • 3.2
Show source code of this method: getTypeId Source Code

public mixed
()

Method to get the Table object for the content type from the table object.
Returns
  • mixed Table object on success, otherwise false.
Since
  • 3.2
-
  • \RuntimeException
Show source code of this method: getContentTable Source Code

Tags Summary

Since
3.1