Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
onFinderCategoryChangeState ($extension, $pks, $value) | |
onFinderAfterDelete ($context, $table) | |
onFinderAfterSave ($context, $row, $isNew) | |
onFinderBeforeSave ($context, $row, $isNew) | |
onFinderChangeState ($context, $pks, $value) | |
Fonctions membres publiques hérités de Adapter | |
__construct (&$subject, $config) | |
onStartIndex () | |
onBeforeIndex () | |
onBuildIndex () | |
onFinderGarbageCollection () | |
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 () | |
Fonctions membres protégées | |
index (Result $item) | |
setup () | |
getListQuery ($query=null) | |
Fonctions membres protégées hérités de Adapter | |
change ($id, $property, $value) | |
index (Result $item) | |
reindex ($id) | |
remove ($id, $removeTaxonomies=true) | |
setup () | |
categoryAccessChange ($row) | |
categoryStateChange ($pks, $value) | |
checkCategoryAccess ($row) | |
checkItemAccess ($row) | |
getContentCount () | |
getItem ($id) | |
getItems ($offset, $limit, $query=null) | |
getListQuery ($query=null) | |
getPluginType ($id) | |
getStateQuery () | |
getUpdateQueryByTime ($time) | |
getUpdateQueryByIds ($ids) | |
getTypeId () | |
getUrl ($id, $extension, $view) | |
getItemMenuTitle ($url) | |
itemAccessChange ($row) | |
itemStateChange ($pks, $value) | |
pluginDisable ($pks) | |
translateState ($item, $category=null) | |
Fonctions membres protégées hérités de CMSPlugin | |
registerLegacyListener (string $methodName) | |
registerListener (string $methodName) | |
getApplication () | |
Attributs protégés | |
$context = 'Contacts' | |
$extension = 'com_contact' | |
$layout = 'contact' | |
$type_title = 'Contact' | |
$table = '#__contact_details' | |
$state_field = 'published' | |
$autoloadLanguage = true | |
Attributs protégés hérités de Adapter | |
$context | |
$extension | |
$layout | |
$mime | |
$old_access | |
$old_cataccess | |
$type_title | |
$type_id | |
$db | |
$table | |
$indexer | |
$state_field = 'state' | |
Attributs protégés hérités de CMSPlugin | |
$_name = null | |
$_type = null | |
$autoloadLanguage = false | |
$allowLegacyListeners = true | |
Membres hérités additionnels | |
Champs de données hérités de CMSPlugin | |
$params = null | |
Finder adapter for Joomla Contacts.
|
protected |
|
protected |
Method to index an item. The item must be a Result object.
Result | $item | The item to index as a Result object. |
Exception | on database error. |
Références $category, $item, $this, $title, extension, Categories\getInstance(), ComponentHelper\isEnabled(), et Result\setLanguage().
onFinderAfterDelete | ( | $context, | |
$table | |||
) |
Method to remove the link information for items that have been deleted.
This event will fire when contacts are deleted and when an indexed item is deleted.
string | $context | The context of the action being performed. |
Table | $table | A Table object containing the record to be deleted |
Exception | on database error. |
onFinderAfterSave | ( | $context, | |
$row, | |||
$isNew | |||
) |
Method to determine if the access level of an item changed.
string | $context | The context of the content passed to the plugin. |
Table | $row | A Table object |
boolean | $isNew | If the content has just been created |
Exception | on database error. |
Références $context.
onFinderBeforeSave | ( | $context, | |
$row, | |||
$isNew | |||
) |
Method to reindex the link information for an item that has been saved. This event is fired before the data is actually saved so we are going to queue the item to be indexed later.
string | $context | The context of the content passed to the plugin. |
Table | $row | A Table object |
boolean | $isNew | If the content is just about to be created |
Exception | on database error. |
Références $context.
onFinderCategoryChangeState | ( | $extension, | |
$pks, | |||
$value | |||
) |
Method to update the item link information when the item category is changed. This is fired when the item category is published or unpublished from the list view.
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 $extension, et $value.
onFinderChangeState | ( | $context, | |
$pks, | |||
$value | |||
) |
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. |
|
protected |
Method to setup the indexer to be run.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |