Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Espaces de nommage | |
Joomla\Administrator | |
Variables | |
$wa = $this->document->getWebAssetManager() | |
$user = Factory::getUser() | |
$app = Factory::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') | |
$saveOrder = ($listOrder == 'a.lft' && strtolower($listDirn) == 'asc') | |
$menuType = (string) $app->getUserState('com_menus.items.menutype', '') | |
if($saveOrder && $menuType &&!empty($this->items)) | $assoc = Associations::isEnabled() && $this->state->get('filter.client_id') == 0 |
< form action="<?php echo Route::_('index.php?option=com_menus&view=items&menutype='); ?> | method |
endif | |
if ( $saveOrder &&$menuType) | |
$canCreate = $user->authorise('core.create', 'com_menus.menu.' . $item->menutype_id) | |
$canEdit = $user->authorise('core.edit', 'com_menus.menu.' . $item->menutype_id) | |
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->get('id') || is_null($item->checked_out) | |
$canChange = $user->authorise('core.edit.state', 'com_menus.menu.' . $item->menutype_id) && $canCheckin | |
if($item->level > 1) | else |
if($menuType) if(! $canChange) | elseif (! $saveOrder) |
$prefix = LayoutHelper::render('joomla.html.treeprefix', array('level' => $item->level)) | |
else | __pad4__ |
else | __pad5__ |
else | __pad6__ |
else $item | language_title |
else | __pad7__ |
else $item | language_image |
else $item $item array('title'=> $item->language_title) | true |
else | __pad8__ |
endforeach | |
$app = Factory::getApplication() |
if ( $saveOrder &&$menuType &&!empty( $this->items)) $assoc = Associations::isEnabled() && $this->state->get('filter.client_id') == 0 |
$canChange = $user->authorise('core.edit.state', 'com_menus.menu.' . $item->menutype_id) && $canCheckin |
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->get('id') || is_null($item->checked_out) |
$canCreate = $user->authorise('core.create', 'com_menus.menu.' . $item->menutype_id) |
$canEdit = $user->authorise('core.edit', 'com_menus.menu.' . $item->menutype_id) |
$listDirn = $this->escape($this->state->get('list.direction')) |
$listOrder = $this->escape($this->state->get('list.ordering')) |
$menuType = (string) $app->getUserState('com_menus.items.menutype', '') |
Référencé par ItemController\allowAdd(), ItemModel\batchCopy(), ItemModel\batchMove(), DisplayController\display(), MenuitemField\getGroups(), MenuItemByTypeField\getGroups(), ItemsModel\getListQuery(), ItemsModel\getMenu(), MenusHelper\getMenuLinks(), MenuModel\getModules(), MenuParentField\getOptions(), MenuOrderingField\getOptions(), ItemsModel\populateState(), ItemModel\populateState(), ItemModel\save(), et MenuItemByTypeField\setup().
$ordering = ($listOrder == 'a.lft') |
$saveOrder = ($listOrder == 'a.lft' && strtolower($listDirn) == 'asc') |
$user = Factory::getUser() |
$userId = $user->get('id') |
$wa = $this->document->getWebAssetManager() |
else __pad4__ |
else __pad5__ |
else __pad6__ |
else __pad7__ |
else __pad8__ |
endforeach |
endif |
if($saveOrder && $menuType) |
else $item language_image |
else $item $item language_title |
<form action="<?php echo Route::_('index.php?option=com_menus&view=items&menutype='); ?> method |
Référencé par Request\__construct(), ServerRequest\__construct(), OpenSSL\__construct(), LazyServiceEventListener\__construct(), LazyServiceEventListener\__invoke(), OpenSSL\decrypt(), OpenSSL\encrypt(), ApiController\execute(), OpenSSL\getBlockSize(), OpenSSL\setEncryptionMode(), Laminas\Diactoros\setMethod(), et MfaTable\store().
else $item $item array ( 'title'=> $item->language_title) true |
Référencé par StringStream\__construct(), Bootstrap\addSlide(), User\authorise(), KeyProtectedByPassword\changePassword(), AuthenticatorAttestationResponseValidator\check(), AuthenticatorAssertionResponseValidator\check(), CertificateToolbox\checkChain(), StringStream\close(), KeyProtectedByPassword\createRandomPasswordProtectedKey(), PublicKeyCredentialLoader\createResponse(), SSH2\exec(), PharInvocationResolver\findByAlias(), PharInvocationResolver\findByBaseName(), Boolean\fromBinary(), SSH2\get_channel_packet(), InstallerHelper\getDownloadKey(), SpacerField\getLabel(), PublicKeyCredentialLoader\loadArray(), PlgSystemAccessibility\onBeforeCompileHead(), PlgAuthenticationCookie\onUserAfterLogin(), PlgUserJoomla\onUserLogin(), PlgSystemLogout\onUserLogout(), HtmlView\prepareDocument(), FeedView\reconcileNames(), HTMLRegistry\register(), WebAssetRegistry\register(), Config\register(), Logger\register(), Pathway\register(), Dispatcher\register(), Toolbar\register(), CacheController\register(), Language\register(), Document\register(), User\register(), Form\register(), Database\register(), Menu\register(), Application\register(), Router\register(), Authentication\register(), Console\register(), SetConfigurationCommand\sanitizeOptions(), IpHelper\setAllowIpOverrides(), PlgSystemLanguageFilter\setLanguageCookie(), SetNewTagsEvent\setReplaceTags(), BeforeLoadEvent\setReset(), AfterStoreEvent\setResult(), AfterLoadEvent\setResult(), BeforeStoreEvent\setUpdateNulls(), CurlPost\submit(), et PharInvocationCollection\triggerDuplicateAliasWarning().