Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier administrator/templates/atum/html/layouts/chromes/body.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $module = $displayData['module']
 
 $params = $displayData['params']
 
if((string) $module->content==='') $id = $module->id
 
 $user = Factory::getUser()
 
 $canEdit = $user->authorise('core.edit', 'com_modules.module.' . $id) && $user->authorise('core.manage', 'com_modules')
 
 $canChange = $user->authorise('core.edit.state', 'com_modules.module.' . $id) && $user->authorise('core.manage', 'com_modules')
 
 $moduleTag = $params->get('module_tag', 'div')
 
 $bootstrapSize = (int) $params->get('bootstrap_size', 6)
 
 $moduleClass = $bootstrapSize ? 'col-md-' . $bootstrapSize : 'col-md-12'
 
 $headerTag = htmlspecialchars($params->get('header_tag', 'h2'), ENT_QUOTES, 'UTF-8')
 
 $moduleClassSfx = $params->get('moduleclass_sfx', '')
 
 $headerClass = $params->get('header_class')
 
 $url = Route::_('index.php?option=com_modules&task=module.edit&id=' . $id . '&return=' . base64_encode($uri))
 
 endif
 
 if ( $canChange)
 

Documentation des variables

◆ $bootstrapSize

$bootstrapSize = (int) $params->get('bootstrap_size', 6)

◆ $canChange

$canChange = $user->authorise('core.edit.state', 'com_modules.module.' . $id) && $user->authorise('core.manage', 'com_modules')

◆ $canEdit

$canEdit = $user->authorise('core.edit', 'com_modules.module.' . $id) && $user->authorise('core.manage', 'com_modules')

◆ $headerClass

$headerClass = $params->get('header_class')

◆ $headerTag

$headerTag = htmlspecialchars($params->get('header_tag', 'h2'), ENT_QUOTES, 'UTF-8')

◆ $id

if ((string) $module->content==='') $id = $module->id

◆ $module

◆ $moduleClass

$moduleClass = $bootstrapSize ? 'col-md-' . $bootstrapSize : 'col-md-12'

◆ $moduleClassSfx

$moduleClassSfx = $params->get('moduleclass_sfx', '')

◆ $moduleTag

$moduleTag = $params->get('module_tag', 'div')

◆ $params

$params = $displayData['params']

◆ $url

$url = Route::_('index.php?option=com_modules&task=module.edit&id=' . $id . '&return=' . base64_encode($uri))
Exemples:
C:/laragon/www/_install/Joomla_422-Stable-Full_Package_French_v1/libraries/src/HTML/HTMLHelper.php.

Référencé par Route\_(), SitePathway\__construct(), Result\__serialize(), HelpButton\_getCommand(), PopupButton\_getCommand(), InstallModel\_getPackageFromUrl(), LinkModel\activate(), Tobscure\JsonApi\addPaginationLink(), Tobscure\JsonApi\addPaginationLinks(), Document\addScript(), Document\addStyleSheet(), HtmlView\addToolbar(), OpensearchDocument\addUrl(), FormBehavior\ajaxchosen(), AdministratorService\association(), Menus\association(), SiteApplication\authorise(), Client\authorise(), Client\baseString(), AdministratorRouter\build(), InstallationRouter\build(), Router\build(), FormController\cancel(), LinkTable\check(), CMSApplication\checkUserRequireReset(), HTMLHelper\cleanImageURL(), TemplateController\close(), AbstractIdnaConvert\convertUrl(), Icon\create(), TemplateController\createFile(), TemplateModel\createOverride(), OutputFormatter\createStyleFromString(), Router\createUri(), Help\createUrl(), Client\createUrl(), Http\delete(), MethodController\delete(), TemplateController\delete(), HtmlView\display(), DisplayController\display(), ExtensionInstallCommand\doExecute(), UpdateCoreCommand\downloadFile(), InstallerHelper\downloadPackage(), LanguagesModel\downloadPackage(), UpdateModel\downloadPackage(), LinkModel\duplicateUrls(), Icon\edit(), LinkButton\fetchButton(), PopupButton\fetchButton(), X509\fetchURL(), SimpleMetadataStatementRepository\findOneByAAGUIDFromServices(), FilesystemHelper\ftpChmod(), Helper\ftpChmod(), Http\get(), AssociationsHelper\getAssociationHtmlList(), InstallerHelper\getFilenameFromUrl(), Adapter\getItemMenuTitle(), TosField\getLabel(), WrapperHelper\getParams(), LoginHelper\getReturnUrl(), UpdateAdapter\getUpdateSiteResponse(), Totp\getUrl(), BannerModel\getUrl(), ApiModel\getUrl(), DataCollector\getXdebugLink(), Http\head(), httpheaders_postinstall_action(), HTMLHelper\iframe(), Curl\init(), UpdateModel\install(), BannerHelper\isImage(), Uri\isInternal(), ToolbarHelper\jooa11y(), Route\link(), ToolbarHelper\link(), HTMLHelper\link(), Changelog\loadFromXml(), Update\loadFromXml(), Requests\makeGetRequest(), Http\makeTransportRequest(), UserController\menulogout(), PHPMailer\msgHTML(), Client\oauthRequest(), PlgContentContact\onContentPrepare(), Stream\open(), Http\options(), TemplateController\overrides(), UriHelper\parse_url(), Http\patch(), Http\post(), ToolbarHelper\preview(), ExtensionInstallCommand\processUrlInstallation(), TemplateController\publish(), Http\put(), Client\query(), AbstractWebApplication\redirect(), CMSApplication\redirect(), Helper\remotefsize(), FilesystemHelper\remotefsize(), Adapter\remove(), RssRenderer\render(), AtomRenderer\render(), OpensearchDocument\render(), FormController\save(), JavascriptRenderer\setBaseUrl(), OutputFormatterStyle\setHref(), Document\setLink(), JavascriptRenderer\setOpenHandlerUrl(), BaseController\setRedirect(), Buffer\stream_open(), BufferStreamHandler\stream_open(), X509\testForIntermediate(), Client\toUrl(), Http\trace(), TemplateController\uploadFile(), TemplateModel\uploadFile(), X509\validateURL(), et ArticleController\vote().

◆ $user

$user = Factory::getUser()

◆ endif

endif

◆ if

if($module->showtitle) (   $canChange)