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é
|
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')) | |
$canOrder = $user->authorise('core.edit.state', 'com_contact.category') | |
$saveOrder = $listOrder == 'a.ordering' | |
endif | |
$n = count($this->items) | |
foreach($this->items as $i=> $item) | $canCreate = $user->authorise('core.create', 'com_contact.category.'.$item->catid) |
$canEdit = $user->authorise('core.edit', 'com_contact.category.'.$item->catid) | |
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0 | |
$canEditOwn = $user->authorise('core.edit.own', 'com_contact.category.'.$item->catid) && $item->created_by == $userId | |
$canChange = $user->authorise('core.edit.state', 'com_contact.category.'.$item->catid) && $canCheckin | |
$item | cat_link = JRoute::_('index.php?option=com_categories&extension=com_contact&task=edit&type=other&id='.$item->catid) |
else | __pad0__ |
$disabled = $saveOrder ? '' : 'disabled="disabled"' | |
else | __pad1__ |
endforeach |
$canChange = $user->authorise('core.edit.state', 'com_contact.category.'.$item->catid) && $canCheckin |
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0 |
foreach ($this->items as $i=> $item) $canCreate = $user->authorise('core.create', 'com_contact.category.'.$item->catid) |
$canEdit = $user->authorise('core.edit', 'com_contact.category.'.$item->catid) |
$canEditOwn = $user->authorise('core.edit.own', 'com_contact.category.'.$item->catid) && $item->created_by == $userId |
$canOrder = $user->authorise('core.edit.state', 'com_contact.category') |
$disabled = $saveOrder ? '' : 'disabled="disabled"' |
$listDirn = $this->escape($this->state->get('list.direction')) |
$listOrder = $this->escape($this->state->get('list.ordering')) |
$n = count($this->items) |
Référencé par JURI\_cleanPath(), plgContentPagebreak\_createNavigation(), JArchiveZip\_extract(), JModuleHelper\_load(), JHtmlAccess\actions(), JHtmlIcons\button(), JCacheStorageFile\clean(), JDocumentHTML\countModules(), JInstallationControllerSetup\database(), JInstallationModelFilesystem\detectFtpRoot(), ContactViewCategory\display(), NewsfeedsViewCategory\display(), WeblinksViewCategory\display(), ContactViewFeatured\display(), ContentViewCategory\display(), JRegistry\exists(), JArchiveTar\extract(), JElementNewsfeed\fetchElement(), JElementMenuItem\fetchElement(), JInstallationControllerSetup\filesystem(), GeSHi\finalise(), JForm\findGroup(), JHtmlList\genericordering(), JRegistry\get(), JArrayHelper\getColumn(), FinderViewSearch\getFields(), MediaModelManager\getFolderTree(), ModFinderHelper\getGetFields(), JFormFieldModuleOrder\getInput(), WeblinksModelCategory\getItems(), NewsfeedsModelCategory\getItems(), ContactModelFeatured\getItems(), ContactModelCategory\getItems(), JFormFieldMenuParent\getOptions(), JFormFieldCategoryParent\getOptions(), JFormFieldGroupParent\getOptions(), JFormFieldCategoryEdit\getOptions(), JRegistryFormatXML\getXmlChildren(), JHtmlUser\groups(), JString\increment(), GeSHi\indent(), JFormHelper\loadClass(), JSimpleXMLElement\map(), FinderIndexerAdapter\onBuildIndex(), plgContentPagebreak\onContentPrepare(), JSessionStorageMemcache\open(), JSessionStorageMemcached\open(), JText\plural(), JTableUsergroup\rebuild(), UsersControllerRegistration\register(), UsersControllerUser\register(), JSimpleXMLElement\removeChild(), JDatabaseSQLSrv\replacePrefix(), JDatabase\replacePrefix(), MessagesControllerConfig\save(), FinderControllerFilter\save(), ConfigControllerComponent\save(), ConfigControllerApplication\save(), MenusControllerMenu\save(), LanguagesControllerOverride\save(), UsersControllerProfile\save(), MenusControllerItem\save(), TemplatesControllerSource\save(), TemplatesModelStyle\save(), JControllerForm\save(), JInstallationControllerSetup\saveconfig(), JRegistry\set(), JInstallationControllerSetup\setlanguage(), JUserHelper\setUserGroups(), JDatabase\splitSql(), ContactControllerContact\submit(), FinderIndexerHelper\tokenize(), JHtmlAccess\usergroup(), JHtmlAccess\usergroups(), et UsersBuildRoute().
$saveOrder = $listOrder == 'a.ordering' |
$user = JFactory::getUser() |
$userId = $user->get('id') |
else __pad0__ |
else __pad1__ |
$item cat_link = JRoute::_('index.php?option=com_categories&extension=com_contact&task=edit&type=other&id='.$item->catid) |
endforeach |
endif |