Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier administrator/components/com_users/tmpl/levels/default.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $wa = $this->document->getWebAssetManager()
 
 $user = Factory::getUser()
 
 $listOrder = $this->escape($this->state->get('list.ordering'))
 
 $listDirn = $this->escape($this->state->get('list.direction'))
 
 $saveOrder = $listOrder == 'a.ordering'
 
 if ( $saveOrder &&!empty( $this->items))
 
else __pad5__
 
 endif
 
 $count = count($this->items)
 
 $canCreate = $user->authorise('core.create', 'com_users')
 
 $canEdit = $user->authorise('core.edit', 'com_users')
 
 $canChange = $user->authorise('core.edit.state', 'com_users')
 
 $groups = json_decode($item->rules)
 
 if (!Factory::getUser() ->authorise( 'core.admin') &&$groups &&Access::checkGroup( $groups[0], 'core.admin'))
 
 $iconClass = ''
 
if(! $canChange) elseif (! $saveOrder)
 
else __pad6__
 
 endforeach
 

Documentation des variables

◆ $canChange

$canChange = $user->authorise('core.edit.state', 'com_users')

◆ $canCreate

$canCreate = $user->authorise('core.create', 'com_users')

◆ $canEdit

$canEdit = $user->authorise('core.edit', 'com_users')

◆ $count

$count = count($this->items)

◆ $groups

$groups = json_decode($item->rules)

Référencé par UserGroupsHelper\__construct(), Categories\_load(), UserModel\batchUser(), ContactModel\buildContactExtendedData(), LevelModel\canDelete(), Category\categories(), CategoryView\commonCategoryDisplay(), GetConfigurationCommand\configure(), GroupModel\delete(), HtmlView\display(), ListUserCommand\doExecute(), DeleteUserCommand\doExecute(), Form\filter(), Form\findGroup(), UserGroupsHelper\getAll(), CategoriesHelper\getAssociations(), AssociationHelper\getAssociations(), Access\getAuthorisedViewLevels(), Taxonomy\getBranchTitles(), Form\getFieldset(), Form\getGroup(), Access\getGroupPath(), UserMessagesField\getGroups(), MenuField\getGroups(), ContentmapField\getGroups(), GroupedlistField\getGroups(), TimezoneField\getGroups(), TemplatestyleField\getGroups(), ChromestyleField\getGroups(), AddUserToGroupCommand\getGroups(), MenuitemField\getGroups(), MenuItemByTypeField\getGroups(), FieldLayoutField\getInput(), FiltersField\getInput(), ModulelayoutField\getInput(), ComponentlayoutField\getInput(), UserGroupsHelper\getInstance(), NewsfeedModel\getItem(), ArticleModel\getItem(), ContactModel\getItem(), Adapter\getItemMenuTitle(), UsersModel\getItems(), ArticlesModel\getItems(), TagsHelper\getItemTags(), TagsPopularHelper\getList(), TagsSimilarHelper\getList(), SuggestionsModel\getListQuery(), FeaturedModel\getListQuery(), GroupsModel\getListQuery(), SearchModel\getListQuery(), FieldsModel\getListQuery(), TagsModel\getListQuery(), AssociationsModel\getListQuery(), CategoriesModel\getListQuery(), ArticlesModel\getListQuery(), ItemsModel\getListQuery(), ModulesModel\getListQuery(), UsersModel\getListQuery(), SubformField\getName(), FormField\getName(), Taxonomy\getNodeByTitle(), WhosonlineHelper\getOnlineUserNames(), UsergrouplistField\getOptions(), CategoryeditField\getOptions(), PlgSystemUpdatenotification\getSuperUsers(), TagsHelper\getTagItemsQuery(), HtmlView\getTagsTitle(), AddUserCommand\getUserGroups(), UsersLatestHelper\getUsers(), PlgWorkflowNotification\getUsersFromGroup(), UsersHelper\getVisibleByGroups(), User\groups(), Token\isInAllowedUserGroup(), PlgUserToken\isInAllowedUserGroup(), Form\load(), UserGroupsHelper\loadAll(), Category\options(), FormHelper\parseShowOnConditions(), GroupsModel\populateExtraData(), UserGroupsHelper\populateGroupsData(), UsersModel\populateState(), Form\postProcess(), PlgContentFields\prepare(), Query\processDynamicTaxonomy(), GetConfigurationCommand\processGroupOptions(), Query\processStaticTaxonomy(), TagsHelper\searchTags(), Filter\select(), UserGroupsHelper\setGroups(), Filter\slider(), User\store(), Access\usergroups(), LevelModel\validate(), et Form\validate().

◆ $iconClass

$iconClass = ''

◆ $listDirn

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

◆ $listOrder

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

◆ $saveOrder

$saveOrder = $listOrder == 'a.ordering'

◆ $user

$user = Factory::getUser()

◆ $wa

$wa = $this->document->getWebAssetManager()

◆ __pad5__

else __pad5__

◆ __pad6__

else __pad6__

◆ elseif

if (! $canChange) elseif(! $saveOrder)

◆ endforeach

endforeach

◆ endif

endif

◆ if [1/2]

if($saveOrder) ( $saveOrder &&!  empty$this->items)

◆ if [2/2]

if(!Factory::getUser() ->authorise('core.admin') && $groups &&Access::checkGroup($groups[0], 'core.admin'))