Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
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)
 
- Fonctions membres publiques hérités de CMSPlugin
 __construct (&$subject, $config=array())
 
 loadLanguage ($extension='', $basePath=JPATH_ADMINISTRATOR)
 
 setApplication (CMSApplicationInterface $application)
 
- Fonctions membres publiques hérités de DispatcherAwareInterface
 setDispatcher (DispatcherInterface $dispatcher)
 
- Fonctions membres publiques hérités de PluginInterface
 registerListeners ()
 

Membres hérités additionnels

- Champs de données hérités de CMSPlugin
 $params = null
 
- Fonctions membres protégées hérités de CMSPlugin
 registerLegacyListener (string $methodName)
 
 registerListener (string $methodName)
 
 getApplication ()
 
- Attributs protégés hérités de CMSPlugin
 $_name = null
 
 $_type = null
 
 $autoloadLanguage = false
 
 $allowLegacyListeners = true
 

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 $extension, et $value.

◆ 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, et $context.

◆ 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, et $context.

◆ 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, et $context.

◆ 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, et $value.


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