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é
|
Fonctions membres publiques | |
onContentAfterSave ($context, $article, $isNew) | |
onContentBeforeSave ($context, $article, $isNew) | |
onContentAfterDelete ($context, $article) | |
onContentChangeState ($context, $pks, $value) | |
onCategoryChangeState ($extension, $pks, $value) | |
Smart Search Content Plugin
onCategoryChangeState | ( | $extension, | |
$pks, | |||
$value | |||
) |
Smart Search change category state content method. Method is called when the state of the category to which the content item belongs is changed.
string | $extension | The extension whose category has been updated. |
array | $pks | A list of primary key ids of the content that has changed state. |
integer | $value | The value of the state that the content has been changed to. |
Références $dispatcher, $extension, $value, et JEventDispatcher\getInstance().
onContentAfterDelete | ( | $context, | |
$article | |||
) |
Smart Search after delete content method. Content is passed by reference, but after the deletion.
string | $context | The context of the content passed to the plugin (added in 1.6). |
object | $article | A JTableContent object. |
Références $article, $context, $dispatcher, et JEventDispatcher\getInstance().
onContentAfterSave | ( | $context, | |
$article, | |||
$isNew | |||
) |
Smart Search after save content method. Content is passed by reference, but after the save, so no changes will be saved. Method is called right after the content is saved.
string | $context | The context of the content passed to the plugin (added in 1.6) |
object | $article | A JTableContent object |
bool | $isNew | If the content has just been created |
Références $article, $context, $dispatcher, et JEventDispatcher\getInstance().
onContentBeforeSave | ( | $context, | |
$article, | |||
$isNew | |||
) |
Smart Search before save content method. Content is passed by reference. Method is called before the content is saved.
string | $context | The context of the content passed to the plugin (added in 1.6). |
object | $article | A JTableContent object. |
bool | $isNew | If the content is just about to be created. |
Références $article, $context, $dispatcher, et JEventDispatcher\getInstance().
onContentChangeState | ( | $context, | |
$pks, | |||
$value | |||
) |
Smart Search content state change method. Method to update the link information for items that have been changed from outside the edit screen. This is fired when the item is published, unpublished, archived, or unarchived from the list view.
string | $context | The context for the content passed to the plugin. |
array | $pks | A list of primary key ids of the content that has changed state. |
integer | $value | The value of the state that the content has been changed to. |
Références $context, $dispatcher, $value, et JEventDispatcher\getInstance().