Joomla CMS  2.5.24 (avec JPlatform 11.4 inclus)
Documentation des API du CMS Joomla en version 2.5 et du framework Joomla Platform intégré
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Pages
Référence du fichier administrator/templates/hathor/html/com_content/articles/default.php

Espaces de nommage

namespace  Joomla\Administrator

Variables

 $user = JFactory::getUser()
 $userId = $user->get('id')
 $listOrder = $this->escape($this->state->get('list.ordering'))
 $listDirn = $this->escape($this->state->get('list.direction'))
 $saveOrder = $listOrder == 'a.ordering'
 $n = count($this->items)
 endif
foreach($this->items as $i=> $item$ordering = ($listOrder == 'a.ordering')
 $canCreate = $user->authorise('core.create', 'com_content.category.'.$item->catid)
 $canEdit = $user->authorise('core.edit', 'com_content.article.'.$item->id)
 $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0
 $canEditOwn = $user->authorise('core.edit.own', 'com_content.article.'.$item->id) && $item->created_by == $userId
 $canChange = $user->authorise('core.edit.state', 'com_content.article.'.$item->id) && $canCheckin
else __pad15__
 $disabled = $saveOrder ? '' : 'disabled="disabled"'
else __pad16__
else __pad17__
 endforeach

Documentation des variables

$canChange = $user->authorise('core.edit.state', 'com_content.article.'.$item->id) && $canCheckin
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0
$canCreate = $user->authorise('core.create', 'com_content.category.'.$item->catid)
$canEdit = $user->authorise('core.edit', 'com_content.article.'.$item->id)
$canEditOwn = $user->authorise('core.edit.own', 'com_content.article.'.$item->id) && $item->created_by == $userId
$disabled = $saveOrder ? '' : 'disabled="disabled"'
$listDirn = $this->escape($this->state->get('list.direction'))
$listOrder = $this->escape($this->state->get('list.ordering'))
$n = count($this->items)
foreach ($this->items as $i=> $item) $ordering = ($listOrder == 'a.ordering')
$saveOrder = $listOrder == 'a.ordering'
$user = JFactory::getUser()
$userId = $user->get('id')
else __pad15__
else __pad16__
else __pad17__
endforeach
endif