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/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 __pad34__
 
< 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 __pad35__
 
else __pad36__
 
 $disabled = $saveOrder ? '' : 'disabled="disabled"'
 
else __pad37__
 
else $item language_title
 
else __pad38__
 
else $item language_image
 
else $item $item array('title'=> $item->language_titletrue
 
else __pad39__
 
 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')

◆ __pad34__

else __pad34__

◆ __pad35__

else __pad35__

◆ __pad36__

else __pad36__

◆ __pad37__

else __pad37__

◆ __pad38__

else __pad38__

◆ __pad39__

else __pad39__

◆ 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