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é
|
Espaces de nommage | |
Joomla\Site | |
Variables | |
$params = $displayData->params | |
$category = $displayData->get('category') | |
$extension = $category->extension | |
$canEdit = $params->get('access-edit') | |
$className = substr($extension, 4) | |
$dispatcher = JEventDispatcher::getInstance() | |
$category | text = $category->description |
$category | description = $category->text |
$results = $dispatcher->trigger('onContentAfterTitle', array($extension . '.categories', &$category, &$params, 0)) | |
$afterDisplayTitle = trim(implode("\n", $results)) | |
$beforeDisplayContent = trim(implode("\n", $results)) | |
$afterDisplayContent = trim(implode("\n", $results)) | |
if(substr($className, -1)==='s') | $tagsData = $category->tags->itemTags |
endif | |
$afterDisplayContent = trim(implode("\n", $results)) |
$afterDisplayTitle = trim(implode("\n", $results)) |
$beforeDisplayContent = trim(implode("\n", $results)) |
$canEdit = $params->get('access-edit') |
$className = substr($extension, 4) |
$dispatcher = JEventDispatcher::getInstance() |
$params = $displayData->params |
Note that this layout opens a div with the page class suffix. If you do not use the category children layout you need to close this div either by overriding this file or in your main layout.
$results = $dispatcher->trigger('onContentAfterTitle', array($extension . '.categories', &$category, &$params, 0)) |
This will work for the core components but not necessarily for other components that may have different pluralisation rules.
endif |
$category text = $category->description |