Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques statiques | |
static | get ($typeAlias, $id) |
static | delete ($typeAlias, $id) |
static | store ($typeAlias, $id, $data, $note='') |
Handle the versioning of content items
|
static |
Method to delete the history for an item.
string | $typeAlias | Typealias of the component |
integer | $id | ID of the content item to delete |
Références $db, $id, $itemid, $query, Factory\getDbo(), et ParameterType\STRING.
|
static |
Method to get a list of available versions of this item.
string | $typeAlias | Typealias of the component |
integer | $id | ID of the content item to get |
Références $db, $id, $itemid, $query, Factory\getDbo(), et ParameterType\STRING.
|
static |
Method to save a version snapshot to the content history table.
string | $typeAlias | Typealias of the content type |
integer | $id | ID of the content item |
mixed | $data | Array or object of data that can be en- and decoded into JSON |
string | $note | Note for the version to store |
Références $component, $context, $data, $id, $result, AbstractEvent\create(), elseif, Factory\getApplication(), Table\getInstance(), ComponentHelper\getParams(), et PluginHelper\importPlugin().