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

Espaces de nommage

 Joomla\Administrator
 

Variables

 $wa = $this->document->getWebAssetManager()
 
 $user = Factory::getUser()
 
 $app = Factory::getApplication()
 
 $userId = $user->get('id')
 
 $listOrder = $this->escape($this->state->get('list.ordering'))
 
 $listDirn = $this->escape($this->state->get('list.direction'))
 
 $ordering = ($listOrder == 'a.lft')
 
 $saveOrder = ($listOrder == 'a.lft' && strtolower($listDirn) == 'asc')
 
 $menuType = (string) $app->getUserState('com_menus.items.menutype', '')
 
if($saveOrder && $menuType &&!empty($this->items)) $assoc = Associations::isEnabled() && $this->state->get('filter.client_id') == 0
 
< form action="<?php echo Route::_('index.php?option=com_menus&view=items&menutype='); ?> method
 
 endif
 
 if ( $saveOrder &&$menuType)
 
 $canCreate = $user->authorise('core.create', 'com_menus.menu.' . $item->menutype_id)
 
 $canEdit = $user->authorise('core.edit', 'com_menus.menu.' . $item->menutype_id)
 
 $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->get('id') || is_null($item->checked_out)
 
 $canChange = $user->authorise('core.edit.state', 'com_menus.menu.' . $item->menutype_id) && $canCheckin
 
if($item->level > 1) else
 
if($menuType) if(! $canChange) elseif (! $saveOrder)
 
 $prefix = LayoutHelper::render('joomla.html.treeprefix', array('level' => $item->level))
 
else __pad4__
 
else __pad5__
 
else __pad6__
 
else $item language_title
 
else __pad7__
 
else $item language_image
 
else $item $item array('title'=> $item->language_titletrue
 
else __pad8__
 
 endforeach
 

Documentation des variables

◆ $app

$app = Factory::getApplication()

◆ $assoc

if ( $saveOrder &&$menuType &&!empty( $this->items)) $assoc = Associations::isEnabled() && $this->state->get('filter.client_id') == 0

◆ $canChange

$canChange = $user->authorise('core.edit.state', 'com_menus.menu.' . $item->menutype_id) && $canCheckin

◆ $canCheckin

$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->get('id') || is_null($item->checked_out)

◆ $canCreate

$canCreate = $user->authorise('core.create', 'com_menus.menu.' . $item->menutype_id)

◆ $canEdit

$canEdit = $user->authorise('core.edit', 'com_menus.menu.' . $item->menutype_id)

◆ $listDirn

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

◆ $listOrder

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

◆ $menuType

◆ $ordering

$ordering = ($listOrder == 'a.lft')

◆ $prefix

$prefix = LayoutHelper::render('joomla.html.treeprefix', array('level' => $item->level))

◆ $saveOrder

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

◆ $user

$user = Factory::getUser()

◆ $userId

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

◆ $wa

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

◆ __pad4__

else __pad4__

◆ __pad5__

else __pad5__

◆ __pad6__

else __pad6__

◆ __pad7__

else __pad7__

◆ __pad8__

else __pad8__

◆ else

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

◆ elseif

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

◆ endforeach

endforeach

◆ endif

endif

◆ if

if($saveOrder && $menuType)

◆ language_image

else $item language_image

◆ language_title

else $item $item language_title

◆ method

<form action="<?php echo Route::_('index.php?option=com_menus&view=items&menutype='); ?> method
Valeur initiale :
="post" name="adminForm"
id="adminForm">
<div class="row">
<div class="col-md-12">
<div id="j-main-container" class="j-main-container">
<?php echo LayoutHelper::render('joomla.searchtools.default', array('view' => $this, 'options' => array('selectorFieldName' => 'menutype')))
$this name
Definition: default_cache.php:16
else $this
Definition: administrator/components/com_modules/tmpl/module/edit.php:145

Référencé par Request\__construct(), ServerRequest\__construct(), OpenSSL\__construct(), LazyServiceEventListener\__construct(), LazyServiceEventListener\__invoke(), OpenSSL\decrypt(), OpenSSL\encrypt(), ApiController\execute(), OpenSSL\getBlockSize(), OpenSSL\setEncryptionMode(), Laminas\Diactoros\setMethod(), et MfaTable\store().

◆ true

else $item $item array ( 'title'=> $item->language_title) true

Référencé par StringStream\__construct(), Bootstrap\addSlide(), User\authorise(), KeyProtectedByPassword\changePassword(), AuthenticatorAttestationResponseValidator\check(), AuthenticatorAssertionResponseValidator\check(), CertificateToolbox\checkChain(), StringStream\close(), KeyProtectedByPassword\createRandomPasswordProtectedKey(), PublicKeyCredentialLoader\createResponse(), SSH2\exec(), PharInvocationResolver\findByAlias(), PharInvocationResolver\findByBaseName(), Boolean\fromBinary(), SSH2\get_channel_packet(), InstallerHelper\getDownloadKey(), SpacerField\getLabel(), PublicKeyCredentialLoader\loadArray(), PlgSystemAccessibility\onBeforeCompileHead(), PlgAuthenticationCookie\onUserAfterLogin(), PlgUserJoomla\onUserLogin(), PlgSystemLogout\onUserLogout(), HtmlView\prepareDocument(), FeedView\reconcileNames(), HTMLRegistry\register(), WebAssetRegistry\register(), Config\register(), Logger\register(), Pathway\register(), Dispatcher\register(), Toolbar\register(), CacheController\register(), Language\register(), Document\register(), User\register(), Form\register(), Database\register(), Menu\register(), Application\register(), Router\register(), Authentication\register(), Console\register(), SetConfigurationCommand\sanitizeOptions(), IpHelper\setAllowIpOverrides(), PlgSystemLanguageFilter\setLanguageCookie(), SetNewTagsEvent\setReplaceTags(), BeforeLoadEvent\setReset(), AfterStoreEvent\setResult(), AfterLoadEvent\setResult(), BeforeStoreEvent\setUpdateNulls(), CurlPost\submit(), et PharInvocationCollection\triggerDuplicateAliasWarning().