Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Référence de la classe ContentType
+ Graphe d'héritage de ContentType:

Fonctions membres publiques

 __construct ($db)
 
 check ()
 
 store ($updateNulls=false)
 
 fieldmapExpand ($assoc=true)
 
 getTypeId ($typeAlias)
 
 getContentTable ()
 
- Fonctions membres publiques hérités de Table
 __construct ($table, $key, $db)
 
 attachObserver (\JObserverInterface $observer)
 
 getObserverOfClass ($observerClass)
 
 getFields ($reload=false)
 
 appendPrimaryKeys ($query, $pk=null)
 
 getTableName ()
 
 getKeyName ($multiple=false)
 
 getDbo ()
 
 setDbo ($db)
 
 setRules ($input)
 
 getRules ()
 
 reset ()
 
 bind ($src, $ignore=array())
 
 load ($keys=null, $reset=true)
 
 check ()
 
 save ($src, $orderingFilter='', $ignore='')
 
 checkOut ($userId, $pk=null)
 
 checkIn ($pk=null)
 
 hasPrimaryKey ()
 
 hit ($pk=null)
 
 isCheckedOut ($with=0, $against=null)
 
 getNextOrder ($where='')
 
 getPrimaryKey (array $keys=array())
 
 reorder ($where='')
 
 move ($delta, $where='')
 
 publish ($pks=null, $state=1, $userId=0)
 
 getColumnAlias ($column)
 
 setColumnAlias ($column, $columnAlias)
 
 hasField ($key)
 
- Fonctions membres publiques hérités de JObservableInterface
 attachObserver (JObserverInterface $observer)
 

Membres hérités additionnels

- Fonctions membres publiques statiques hérités de Table
static getInstance ($type, $prefix='JTable', $config=array())
 
static addIncludePath ($path=null)
 
- Fonctions membres protégées hérités de Table
 _getAssetName ()
 
 _getAssetTitle ()
 
 _lock ()
 
 _unlock ()
 
- Attributs protégés hérités de Table
 $_tbl = ''
 
 $_tbl_key = ''
 
 $_tbl_keys = array()
 
 $_db
 
 $_trackAssets = false
 
 $_rules
 
 $_locked = false
 
 $_autoincrement = true
 
 $_observers
 
 $_columnAlias = array()
 
 $_jsonEncode = array()
 
 $_supportNullValue = false
 

Description détaillée

Tags table

Depuis
3.1

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $db)

Constructor

Paramètres
\JDatabaseDriver$dbA database connector object
Depuis
3.1

Références $db.

Documentation des fonctions membres

◆ check()

check ( )

Overloaded check method to ensure data integrity.

Renvoie
boolean True on success.
Depuis
3.1
Exceptions

◆ fieldmapExpand()

fieldmapExpand (   $assoc = true)

Method to expand the field mapping

Paramètres
boolean$assocTrue to return an associative array.
Renvoie
mixed Array or object with field mappings. Defaults to object.
Depuis
3.1

Références $assoc.

◆ getContentTable()

getContentTable ( )

Method to get the Table object for the content type from the table object.

Renvoie
mixed Table object on success, otherwise false.
Depuis
3.2
Exceptions

Références $class.

◆ getTypeId()

getTypeId (   $typeAlias)

Method to get the id given the type alias

Paramètres
string$typeAliasContent type alias (for example, 'com_content.article').
Renvoie
mixed type_id for this alias if successful, otherwise null.
Depuis
3.2

Références $db, et $query.

◆ store()

store (   $updateNulls = false)

Overridden Table::store.

Paramètres
boolean$updateNullsTrue to update fields even if they are null.
Renvoie
boolean True on success.
Depuis
3.1

Références Table\getInstance().


La documentation de cette classe a été générée à partir du fichier suivant :