Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (TableInterface $table=null, $alias=null, UCMType $type=null) | |
save ($original=null, UCMType $type=null) | |
delete ($pk, UCMType $type=null) | |
mapData ($original, UCMType $type=null) | |
getPrimaryKey ($typeId, $contentItemId) | |
Fonctions membres publiques hérités de UCMBase | |
__construct ($alias=null, UCMType $type=null) | |
getType () | |
mapBase ($original, UCMType $type=null) | |
Champs de données | |
$ucmData | |
Fonctions membres protégées | |
store ($data, TableInterface $table=null, $primaryKey=null) | |
Fonctions membres protégées hérités de UCMBase | |
store ($data, TableInterface $table=null, $primaryKey=null) | |
Attributs protégés | |
$table | |
Attributs protégés hérités de UCMBase | |
$type | |
$alias | |
__construct | ( | TableInterface | $table = null , |
$alias = null , |
|||
UCMType | $type = null |
||
) |
Instantiate UCMContent.
TableInterface | $table | The table object |
string | $alias | The type alias |
UCMType | $type | The type object |
Références $type, Symfony\Contracts\Service\__construct(), et Table\getInstance().
Delete content from the Core Content table
mixed | $pk | Array or comma-separated string of ids to delete |
UCMType | $type | The content type object |
Références $db, $query, $type, Factory\getDbo(), et ParameterType\INTEGER.
getPrimaryKey | ( | $typeId, | |
$contentItemId | |||
) |
Get the value of the primary key from #__ucm_base
integer | $typeId | The ID for the type |
integer | $contentItemId | Value of the primary key in the legacy or secondary table |
Références $db, $query, Factory\getDbo(), et ParameterType\INTEGER.
|
protected |
Store data to the appropriate table
array | $data | Data to be stored |
TableInterface | $table | Table Object |
boolean | $primaryKey | Flag that is true for data that are using #__ucm_content as their primary table |
Références $data, Table\getInstance(), et ContentHelper\getLanguageId().
|
protected |
$ucmData |