Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
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) | |
$bootstrapSize = (int) $params->get('bootstrap_size', 6) |
$canChange = $user->authorise('core.edit.state', 'com_modules.module.' . $id) && $user->authorise('core.manage', 'com_modules') |
$canEdit = $user->authorise('core.edit', 'com_modules.module.' . $id) && $user->authorise('core.manage', 'com_modules') |
$headerClass = $params->get('header_class') |
$headerTag = htmlspecialchars($params->get('header_tag', 'h2'), ENT_QUOTES, 'UTF-8') |
$module = $displayData['module'] |
Référencé par AbstractModuleDispatcher\__construct(), PlgContentLoadmodule\_load(), PlgContentLoadmodule\_loadmod(), InstallerScript\addDashboardMenu(), ModuleHelper\cleanModuleList(), HtmlDocument\countModules(), ModuleHelper\createDummyModule(), ModuleAdapter\discover(), CaptiveModel\filterModules(), MultilangstatusHelper\getDefaultHomeModule(), Module\getDispatcher(), ModuleModel\getForm(), ModulelayoutField\getInput(), AbstractModuleDispatcher\getLayoutData(), ModuleHelper\getLayoutPath(), ModulesModel\getListQuery(), ModulesHelper\getModules(), MenuModel\getModules(), TemplateModel\getOverridesList(), ModuleHelper\isEnabled(), PlgContentLoadmodule\onContentPrepare(), ModulesModel\preprocessForm(), ModuleModel\preprocessForm(), ModuleRenderer\render(), ModuleHelper\renderModule(), et ModuleHelper\renderRawModule().
$moduleClass = $bootstrapSize ? 'col-md-' . $bootstrapSize : 'col-md-12' |
$moduleClassSfx = $params->get('moduleclass_sfx', '') |
$moduleTag = $params->get('module_tag', 'div') |
$params = $displayData['params'] |
$url = Route::_('index.php?option=com_modules&task=module.edit&id=' . $id . '&return=' . base64_encode($uri)) |
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 = Factory::getUser() |
endif |
if($module->showtitle) | ( | $canChange | ) |