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/components/com_contact/views/contacts/tmpl/default.php

Espaces de nommage

 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'
 
 $assoc = JLanguageAssociations::isEnabled()
 
 if ( $saveOrder)
 
if(!empty($this->sidebar)) else
 
else __pad0__
 
else null
 
 endif
 
 $n = count($this->items)
 
 $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)
 
 $iconClass = ''
 
if(! $canChange) elseif (! $saveOrder)
 
else __pad1__
 
 endforeach
 

Documentation des variables

◆ $assoc

$assoc = JLanguageAssociations::isEnabled()

◆ $canChange

$canChange = $user->authorise('core.edit.state', 'com_contact.category.' . $item->catid) && $canCheckin

◆ $canCheckin

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

◆ $canEdit

$canEdit = $user->authorise('core.edit', 'com_contact.category.' . $item->catid)

◆ $canEditOwn

$canEditOwn = $user->authorise('core.edit.own', 'com_contact.category.' . $item->catid) && $item->created_by == $userId

◆ $iconClass

$iconClass = ''

◆ $listDirn

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

◆ $listOrder

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

◆ $n

$n = count($this->items)

Référencé par PlgContentPagebreak\_createNavigation(), JHtmlAccess\actions(), Registry\append(), JHtmlIcons\button(), ParagonIE_Sodium_Core32_Ed25519\check_S_lt_L(), ParagonIE_Sodium_Core_Ed25519\check_S_lt_L(), FileStorage\clean(), AbstractUri\cleanPath(), HtmlDocument\countModules(), ParagonIE_Sodium_Core_X25519\crypto_scalarmult_curve25519_ref10(), ParagonIE_Sodium_Core32_X25519\crypto_scalarmult_curve25519_ref10(), ParagonIE_Sodium_Core_X25519\crypto_scalarmult_curve25519_ref10_base(), ParagonIE_Sodium_Core32_X25519\crypto_scalarmult_curve25519_ref10_base(), JKeychain\deleteValue(), InstallationModelFtp\detectFtpRoot(), ContactViewFeatured\display(), Registry\exists(), JArchiveTar\extract(), Tar\extract(), Zip\extractCustom(), JArchiveZip\extractCustom(), Form\findGroup(), JHtmlList\genericordering(), Registry\get(), FinderViewSearch\getFields(), MediaModelManager\getFolderTree(), ModFinderHelper\getGetFields(), ContactModelCategory\getItems(), ContactModelFeatured\getItems(), JFormFieldMenuParent\getOptions(), JFormFieldGroupParent\getOptions(), JFormFieldCategoryParent\getOptions(), JFormFieldCategoryEdit\getOptions(), Xml\getXmlChildren(), JHtmlUser\groups(), FOFLessFormatterClassic\indentStr(), lessc_formatter_classic\indentStr(), JHtmlLinks\link(), FOFFormHelper\loadClass(), FormHelper\loadClass(), FinderIndexerAdapter\onBuildIndex(), PlgContentPagebreak\onContentPrepare(), ModulesControllerModule\orderPosition(), SMTP\parseHelloFields(), JTextWrapper\plural(), Text\plural(), Usergroup\rebuild(), UsersControllerRegistration\register(), JDatabaseDriverOracle\replacePrefix(), FOFDatabaseDriverOracle\replacePrefix(), FOFDatabaseDriverSqlsrv\replacePrefix(), FOFDatabaseDriver\replacePrefix(), JDatabaseDriver\replacePrefix(), ParagonIE_Sodium_Core_ChaCha20\rotate(), ParagonIE_Sodium_Core_Salsa20\salsa20_xor_ic(), ParagonIE_Sodium_Core32_Salsa20\salsa20_xor_ic(), MessagesControllerConfig\save(), FinderControllerFilter\save(), TemplatesControllerStyle\save(), MenusControllerMenu\save(), LanguagesControllerOverride\save(), UsersControllerProfile\save(), TemplatesControllerTemplate\save(), MenusControllerItem\save(), TemplatesModelStyle\save(), FormController\save(), FOFController\saveorder(), Registry\set(), UserHelper\setUserGroups(), FOFDatabaseDriver\splitSql(), JDatabaseQuerySqlsrv\splitSqlExpression(), FinderIndexerHelper\tokenize(), JHtmlAccess\usergroup(), et JHtmlAccess\usergroups().

◆ $saveOrder

$saveOrder = $listOrder == 'a.ordering'

◆ $user

$user = JFactory::getUser()

◆ $userId

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

◆ __pad0__

else __pad0__

◆ __pad1__

else __pad1__

◆ cat_link

$item cat_link = JRoute::_('index.php?option=com_categories&extension=com_contact&task=edit&type=other&id=' . $item->catid)

◆ else

if (!empty( $this->sidebar)) else

◆ elseif

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

◆ endforeach

endforeach

◆ endif

endif

◆ if

if($saveOrder)

◆ null

else null