Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier templates/cassiopeia/error.php

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', '') : ''
 
 $templatePath = 'media/templates/site/cassiopeia'
 
 $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
 
 $wrapper = $this->params->get('fluidContainer') ? 'wrapper-fluid' : 'wrapper-static'
 
 if ( $this->params->get( 'brand', 1))
 
 endif
 
 $loop = $this->setError($this->_error->getPrevious())
 
 endwhile
 

Documentation des variables

◆ $app

$app = Factory::getApplication()

◆ $assetColorName

$assetColorName = 'theme.' . $paramsColorName

◆ $fontStyles

$fontStyles = ''

◆ $itemid

$itemid = $app->input->getCmd('Itemid', '')

◆ $layout

$layout = $app->input->getCmd('layout', '')

◆ $loop

$loop = $this->setError($this->_error->getPrevious())

◆ $menu

$menu = $app->getMenu()->getActive()

◆ $option

$option = $app->input->getCmd('option', '')

◆ $pageclass

$pageclass = $menu !== null ? $menu->getParams()->get('pageclass_sfx', '') : ''

◆ $paramsColorName

$paramsColorName = $this->params->get('colorName', 'colors_standard')

◆ $paramsFontScheme

$paramsFontScheme = $this->params->get('useFontScheme', false)

◆ $sitename

$sitename = htmlspecialchars($app->get('sitename'), ENT_QUOTES, 'UTF-8')

◆ $task

$task = $app->input->getCmd('task', '')

◆ $templatePath

$templatePath = 'media/templates/site/cassiopeia'

◆ $view

$view = $app->input->getCmd('view', '')

◆ $wa

$wa = $this->getWebAssetManager()

◆ $wrapper

$wrapper = $this->params->get('fluidContainer') ? 'wrapper-fluid' : 'wrapper-static'

◆ else

if ( $this->params->get( 'logoFile')) elseif ( $this->params->get( 'siteTitle')) else
Valeur initiale :
{
$logo = HTMLHelper::_('image', 'logo.svg', $sitename, ['class' => 'logo d-inline-block'], true, 0)
$sitename
Definition: templates/cassiopeia/error.php:29

◆ endif

endif

◆ endwhile

endwhile

◆ if

if($this->params->get('brand', 1))

◆ usePreset

if ( $paramsFontScheme) $wa usePreset('template.cassiopeia.' .($this->direction==='rtl' ? 'rtl' :'ltr')) -> useStyle('template.active.language') ->useStyle('template.user') ->useScript('template.user') ->addInlineStyle(":root