Joomla CMS  3.8.5 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.8.5 et du framework Joomla Platform intégré
Référence du fichier administrator/components/com_categories/views/categories/tmpl/default.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $app = JFactory::getApplication()
 
 $user = JFactory::getUser()
 
 $userId = $user->get('id')
 
 $extension = $this->escape($this->state->get('filter.extension'))
 
 $listOrder = $this->escape($this->state->get('list.ordering'))
 
 $listDirn = $this->escape($this->state->get('list.direction'))
 
 $saveOrder = ($listOrder == 'a.lft' && strtolower($listDirn) == 'asc')
 
 $parts = explode('.', $extension, 2)
 
 $component = $parts[0]
 
 $section = null
 
 $columns = 7
 
if(count($parts) > 1) if ( $saveOrder)
 
else __pad0__
 
else null
 
else if (isset( $this->items[0]) &&property_exists( $this->items[0], 'count_published'))
 
 endif
 
 if (isset( $this->items[0]) &&property_exists( $this->items[0], 'count_unpublished'))
 
 if (isset( $this->items[0]) &&property_exists( $this->items[0], 'count_archived'))
 
 if (isset( $this->items[0]) &&property_exists( $this->items[0], 'count_trashed'))
 
 $canCheckin = $user->authorise('core.admin', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0
 
 $canEditOwn = $user->authorise('core.edit.own', $extension . '.category.' . $item->id) && $item->created_user_id == $userId
 
 $canChange = $user->authorise('core.edit.state', $extension . '.category.' . $item->id) && $canCheckin
 
if($item->level > 1) else
 
else __pad1__
 
else __pad2__
 
 endforeach
 

Documentation des variables

◆ $app

$app = JFactory::getApplication()

◆ $canChange

$canChange = $user->authorise('core.edit.state', $extension . '.category.' . $item->id) && $canCheckin

◆ $canCheckin

$canCheckin = $user->authorise('core.admin', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0

◆ $canEditOwn

$canEditOwn = $user->authorise('core.edit.own', $extension . '.category.' . $item->id) && $item->created_user_id == $userId

◆ $columns

◆ $component

$component = $parts[0]

◆ $extension

$extension = $this->escape($this->state->get('filter.extension'))

Référencé par CategoriesModelCategory\__construct(), FOFUtilsFilescheck\__construct(), FOFUtilsUpdate\__construct(), CategoriesHelper\addSubmenu(), TagsHelper\addSubmenu(), CategoriesViewCategory\addToolbar(), JHtmlCategoriesAdministrator\association(), CategoriesModelCategory\batchCopy(), CategoriesModelCategory\batchMove(), JHtmlCategory\categories(), AdminModel\checkCategoryId(), AssociationsControllerAssociations\checkin(), CategoriesModelCategory\cleanCache(), TagsModelTags\countItems(), CategoriesModelCategories\countItems(), NewsfeedsHelper\countTagItems(), ContactHelper\countTagItems(), ContentHelper\countTagItems(), BannersHelper\countTagItems(), UsersHelper\countTagItems(), SimplePie_Cache\create(), InstallationModelDatabase\createTables(), ModuleAdapter\discover(), LibraryAdapter\discover(), TemplateAdapter\discover(), PluginAdapter\discover(), LanguageAdapter\discover(), ComponentAdapter\discover(), CategoryFeedView\display(), AssociationsViewAssociations\display(), AssociationsViewAssociation\display(), InstallerAdapter\doLoadLanguage(), FileAdapter\extensionExistsInSystem(), SimplePie_Cache\get_handler(), CategoriesHelper\getActions(), CategoriesModelCategories\getAssoc(), CategoriesModelCategory\getAssoc(), Associations\getAssociations(), CategoriesHelper\getAssociations(), CategoryHelperAssociation\getCategoryAssociations(), RouteHelper\getCategoryRoute(), UsersHelperDebug\getComponents(), UsersHelperDebug\getDebugActions(), PostinstallModelMessages\getExtensionName(), AdminModelSysInfo\getExtensions(), CategoriesModelCategory\getForm(), JFormFieldItemType\getGroups(), JFormFieldModal_Category\getInput(), JFormFieldComponentlayout\getInput(), Categories\getInstance(), ModulesModelModule\getItem(), TagsModelTags\getItems(), CategoriesModelCategories\getItems(), MenusModelItems\getItems(), InstallerModelLanguages\getLanguages(), CategoriesModelCategories\getListQuery(), AssociationsModelAssociations\getListQuery(), ModulesHelper\getModules(), JFormFieldAliastag\getOptions(), JFormFieldCategoryParent\getOptions(), JFormFieldConfigComponents\getOptions(), JFormFieldComponents\getOptions(), JFormFieldComponentsCategory\getOptions(), JFormFieldCategory\getOptions(), JFormFieldPlugins\getOptions(), JFormFieldCategoryEdit\getOptions(), Language\getPaths(), CategoriesControllerCategory\getRedirectToItemAppend(), CategoriesControllerCategory\getRedirectToListAppend(), AssociationsHelper\getSupportedExtensions(), FinderIndexerAdapter\getUrl(), HTMLHelper\includeRelativeFiles(), PlgFinderCategories\index(), UsersModelUser\isValidSecretKey(), JHtmlBatch\item(), Language\load(), CategoriesModelCategory\loadFormData(), CMSPlugin\loadLanguage(), LibraryAdapter\loadLanguage(), FileAdapter\loadLanguage(), TemplateAdapter\loadLanguage(), ModuleAdapter\loadLanguage(), PluginAdapter\loadLanguage(), ComponentAdapter\loadLanguage(), Language\loadLanguage(), PlgSystemHighlight\onAfterDispatch(), PlgContentFinder\onCategoryChangeState(), PlgContentJoomla\onContentBeforeDelete(), PlgButtonImage\onDisplay(), PlgFinderContent\onFinderCategoryChangeState(), PlgFinderContacts\onFinderCategoryChangeState(), PlgFinderNewsfeeds\onFinderCategoryChangeState(), JHtmlCategory\options(), PlgSystemLanguageFilter\parseRule(), TagsModelTags\populateState(), CategoriesModelCategories\populateState(), CategoriesModelCategory\populateState(), CategoriesModelCategory\preprocessForm(), AdminController\publish(), CategoriesModelCategory\publish(), FOFRenderAbstract\renderCategoryLinkbar(), ConfigModelApplication\save(), TemplatesModelStyle\save(), AKAbstractUnarchiver\scanArchives(), TemplatesModelStyle\setHome(), InstallerModel\translate(), PluginsModelPlugins\translate(), ModulesModelModules\translate(), PackageAdapter\uninstall(), LanguageAdapter\uninstall(), JoomlaInstallerScript\updateManifestCaches(), et CategoriesHelper\validateCategoryId().

◆ $listDirn

else $listDirn = $this->escape($this->state->get('list.direction'))

◆ $listOrder

else $listOrder = $this->escape($this->state->get('list.ordering'))

◆ $parts

$parts = explode('.', $extension, 2)

◆ $saveOrder

$saveOrder = ($listOrder == 'a.lft' && strtolower($listDirn) == 'asc')

◆ $section

◆ $user

$user = JFactory::getUser()

◆ $userId

$userId = $user->get('id')

◆ __pad0__

else __pad0__

◆ __pad1__

else __pad1__

◆ __pad2__

else __pad2__

◆ else

if ( $item->level > 1) else
Valeur initiale :
{
$parentsStr = ''

◆ endforeach

endforeach

◆ endif

endif

◆ if [1/5]

if($canChange)

◆ if [2/5]

else if(isset($this->items[0]) &&property_exists($this->items[0], 'count_published'))

◆ if [3/5]

if(isset($this->items[0]) &&property_exists($this->items[0], 'count_unpublished'))

◆ if [4/5]

if(isset($this->items[0]) &&property_exists($this->items[0], 'count_archived'))

◆ if [5/5]

if(isset($this->items[0]) &&property_exists($this->items[0], 'count_trashed'))

◆ null

else null