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 PlgContentFinder
+ Graphe d'héritage de PlgContentFinder:

Fonctions membres publiques

 onContentAfterSave ($context, $article, $isNew)
 
 onContentBeforeSave ($context, $article, $isNew)
 
 onContentAfterDelete ($context, $article)
 
 onContentChangeState ($context, $pks, $value)
 
 onCategoryChangeState ($extension, $pks, $value)
 

Description détaillée

Smart Search Content Plugin

Depuis
2.5

Documentation des fonctions membres

◆ onCategoryChangeState()

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.

Paramètres
string$extensionThe extension whose category has been updated.
array$pksA list of primary key ids of the content that has changed state.
integer$valueThe value of the state that the content has been changed to.
Renvoie
void
Depuis
2.5

Références $dispatcher, $extension, $value, et JEventDispatcher\getInstance().

◆ onContentAfterDelete()

onContentAfterDelete (   $context,
  $article 
)

Smart Search after delete content method. Content is passed by reference, but after the deletion.

Paramètres
string$contextThe context of the content passed to the plugin (added in 1.6).
object$articleA JTableContent object.
Renvoie
void
Depuis
2.5

Références $article, $context, $dispatcher, et JEventDispatcher\getInstance().

◆ onContentAfterSave()

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.

Paramètres
string$contextThe context of the content passed to the plugin (added in 1.6)
object$articleA JTableContent object
bool$isNewIf the content has just been created
Renvoie
void
Depuis
2.5

Références $article, $context, $dispatcher, et JEventDispatcher\getInstance().

◆ onContentBeforeSave()

onContentBeforeSave (   $context,
  $article,
  $isNew 
)

Smart Search before save content method. Content is passed by reference. Method is called before the content is saved.

Paramètres
string$contextThe context of the content passed to the plugin (added in 1.6).
object$articleA JTableContent object.
bool$isNewIf the content is just about to be created.
Renvoie
void
Depuis
2.5

Références $article, $context, $dispatcher, et JEventDispatcher\getInstance().

◆ onContentChangeState()

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.

Paramètres
string$contextThe context for the content passed to the plugin.
array$pksA list of primary key ids of the content that has changed state.
integer$valueThe value of the state that the content has been changed to.
Renvoie
void
Depuis
2.5

Références $context, $dispatcher, $value, et JEventDispatcher\getInstance().


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