Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Espaces de nommage | |
Joomla\Site | |
Variables | |
$app = Factory::getApplication() | |
$wa = $this->getWebAssetManager() | |
$option = $app->input->getCmd('option', '') | |
$view = $app->input->getCmd('view', '') | |
$layout = $app->input->getCmd('layout', '') | |
$task = $app->input->getCmd('task', '') | |
$itemid = $app->input->getCmd('Itemid', '') | |
$sitename = htmlspecialchars($app->get('sitename'), ENT_QUOTES, 'UTF-8') | |
$menu = $app->getMenu()->getActive() | |
$pageclass = $menu !== null ? $menu->getParams()->get('pageclass_sfx', '') : '' | |
$paramsColorName = $this->params->get('colorName', 'colors_standard') | |
$assetColorName = 'theme.' . $paramsColorName | |
$paramsFontScheme = $this->params->get('useFontScheme', false) | |
$fontStyles = '' | |
if($paramsFontScheme) $wa | usePreset ( 'template.cassiopeia.' .( $this->direction==='rtl' ? 'rtl' :'ltr')) -> useStyle( 'template.active.language') ->useStyle( 'template.user') ->useScript( 'template.user') ->addInlineStyle(":root |
if($this->params->get('logoFile')) elseif($this->params->get('siteTitle')) | else |
$hasClass = '' | |
if($this->countModules('sidebar-left', true)) if($this->countModules('sidebar-right', true)) | $wrapper = $this->params->get('fluidContainer') ? 'wrapper-fluid' : 'wrapper-static' |
$stickyHeader = $this->params->get('stickyHeader') ? 'position-sticky sticky-top' : '' | |
if($this->countModules('topbar')) if($this->countModules('below-top')) | if ( $this->params->get( 'brand', 1)) |
endif | |
$app = Factory::getApplication() |
$assetColorName = 'theme.' . $paramsColorName |
$fontStyles = '' |
$hasClass = '' |
$itemid = $app->input->getCmd('Itemid', '') |
$layout = $app->input->getCmd('layout', '') |
$menu = $app->getMenu()->getActive() |
$option = $app->input->getCmd('option', '') |
$pageclass = $menu !== null ? $menu->getParams()->get('pageclass_sfx', '') : '' |
$paramsColorName = $this->params->get('colorName', 'colors_standard') |
$paramsFontScheme = $this->params->get('useFontScheme', false) |
$sitename = htmlspecialchars($app->get('sitename'), ENT_QUOTES, 'UTF-8') |
$stickyHeader = $this->params->get('stickyHeader') ? 'position-sticky sticky-top' : '' |
$task = $app->input->getCmd('task', '') |
$view = $app->input->getCmd('view', '') |
$wa = $this->getWebAssetManager() |
if ( $this->countModules( 'sidebar-left', true)) if ( $this->countModules( 'sidebar-right', true)) $wrapper = $this->params->get('fluidContainer') ? 'wrapper-fluid' : 'wrapper-static' |
if ($this->countModules('menu', true) || $this->countModules('search', true)) ( $this->countModules( 'menu', true)) if ( $this->countModules( 'search', true)) endif |
if ( $this->countModules( 'topbar')) if ( $this->countModules( 'below-top')) if($this->params->get('brand', 1)) |
if ( $paramsFontScheme) $wa usePreset('template.cassiopeia.' .($this->direction==='rtl' ? 'rtl' :'ltr')) -> useStyle('template.active.language') ->useStyle('template.user') ->useScript('template.user') ->addInlineStyle(":root |