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é
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence du fichier administrator/templates/hathor/html/com_menus/items/default.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $user = JFactory::getUser()
 
 $app = JFactory::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')
 
 $canOrder = $user->authorise('core.edit.state', 'com_menus')
 
 $saveOrder = ($listOrder == 'a.lft' && $listDirn == 'asc')
 
 $menutypeid = (int) $this->state->get('menutypeid')
 
 $assoc = JLanguageAssociations::isEnabled() && $this->state->get('filter.client_id') == 0
 
< form action="<?php echo JRoute::_('index.php?option=com_menus&view=items'); ?> method
 
else __pad36__
 
< table class="adminlist">< thead >< tr >< th class="checkmark-col">< input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?> onclick
 
 endif
 
 $canCreate = $user->authorise('core.create', 'com_menus.menu.' . $menutypeid)
 
 $canEdit = $user->authorise('core.edit', 'com_menus.menu.' . $menutypeid)
 
 $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->get('id')|| $item->checked_out == 0
 
 $canChange = $user->authorise('core.edit.state', 'com_menus.menu.' . $menutypeid) && $canCheckin
 
else __pad37__
 
else __pad38__
 
 $disabled = $saveOrder ? '' : 'disabled="disabled"'
 
else __pad39__
 
else __pad40__
 
else $item language_title
 
else __pad41__
 
else $item language_image
 
else $item $item array('title'=> $item->language_titletrue
 
else __pad42__
 
 endforeach
 

Documentation des variables

◆ $app

$app = JFactory::getApplication()

◆ $assoc

$assoc = JLanguageAssociations::isEnabled() && $this->state->get('filter.client_id') == 0

◆ $canChange

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

◆ $canCheckin

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

◆ $canCreate

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

◆ $canEdit

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

◆ $canOrder

$canOrder = $user->authorise('core.edit.state', 'com_menus')

◆ $disabled

$disabled = $saveOrder ? '' : 'disabled="disabled"'

◆ $listDirn

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

◆ $listOrder

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

◆ $menutypeid

$menutypeid = (int) $this->state->get('menutypeid')

◆ $ordering

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

◆ $saveOrder

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

◆ $user

$user = JFactory::getUser()

◆ $userId

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

◆ __pad36__

else __pad36__

◆ __pad37__

else __pad37__

◆ __pad38__

else __pad38__

◆ __pad39__

else __pad39__

◆ __pad40__

else __pad40__

◆ __pad41__

else __pad41__

◆ __pad42__

else __pad42__

◆ endforeach

endforeach

◆ endif

endif

◆ language_image

else $item language_image

◆ language_title

else $item $item language_title

◆ method

<form action="<?php echo JRoute::_('index.php?option=com_menus&view=items'); ?> method
Valeur initiale :
="post" name="adminForm" id="adminForm">
<?php if (!empty( $this->sidebar)) :
$this name
Definition: components/com_config/view/application/tmpl/default_cache.php:12

◆ onclick

<table class="adminlist"><thead><tr><th class="checkmark-col"><input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?> onclick
Valeur initiale :
="Joomla.checkAll(this)" />
</th>
<th class="title">
<?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'a.title', $listDirn, $listOrder)
$listOrder
Definition: administrator/templates/hathor/html/com_menus/items/default.php:20
$listDirn
Definition: administrator/templates/hathor/html/com_menus/items/default.php:21

◆ true

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