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 | |
onFinderAfterDelete ($context, $table) | |
onFinderAfterSave ($context, $row, $isNew) | |
onFinderBeforeSave ($context, $row, $isNew) | |
onFinderChangeState ($context, $pks, $value) | |
Fonctions membres publiques hérités de FinderIndexerAdapter | |
__construct (&$subject, $config) | |
onStartIndex () | |
onBeforeIndex () | |
onBuildIndex () | |
Fonctions membres protégées | |
index (FinderIndexerResult $item, $format='html') | |
setup () | |
getListQuery ($query=null) | |
getStateQuery () | |
getUpdateQueryByTime ($time) | |
Fonctions membres protégées hérités de FinderIndexerAdapter | |
change ($id, $property, $value) | |
index (FinderIndexerResult $item) | |
reindex ($id) | |
remove ($id) | |
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) | |
Attributs protégés | |
$context = 'Tags' | |
$extension = 'com_tags' | |
$layout = 'tag' | |
$type_title = 'Tag' | |
$table = '#__tags' | |
$autoloadLanguage = true | |
$state_field = 'published' | |
Attributs protégés hérités de FinderIndexerAdapter | |
$context | |
$extension | |
$layout | |
$mime | |
$old_access | |
$old_cataccess | |
$type_title | |
$type_id | |
$db | |
$table | |
$indexer | |
$state_field = 'state' | |
Finder adapter for Joomla Tag.
|
protected |
Method to get the SQL query used to retrieve the list of content items.
mixed | $query | A JDatabaseQuery object or null. |
|
protected |
Method to get a SQL query to load the published and access states for the given tag.
Références $query.
|
protected |
Method to get the query clause for getting items to update by time.
string | $time | The modified timestamp. |
Références $query.
|
protected |
Method to index an item. The item must be a FinderIndexerResult object.
FinderIndexerResult | $item | The item to index as a FinderIndexerResult object. |
string | $format | The item format |
Exception | on database error. |
Références $item, $title, extension, FinderIndexerHelper\getContentExtras(), FinderIndexerHelper\getContentPath(), TagsHelperRoute\getTagRoute(), FinderIndexer\META_CONTEXT, et FinderIndexerResult\setLanguage().
onFinderAfterDelete | ( | $context, | |
$table | |||
) |
Method to remove the link information for items that have been deleted.
string | $context | The context of the action being performed. |
JTable | $table | A JTable 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. |
JTable | $row | A JTable object |
boolean | $isNew | If the content has just been created |
Exception | on database error. |
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. |
JTable | $row | A JTable object |
boolean | $isNew | If the content is just about to be created |
Exception | on database error. |
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.
Références JPATH_SITE, et JLoader\register().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |