Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Référence du fichier templates/protostar/error.php

Espaces de nommage

 Joomla\Site
 

Variables

 $app = JFactory::getApplication()
 
 $user = JFactory::getUser()
 
 $params = $app->getTemplate(true)->params
 
 $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', '')
 
 $format = $app->input->getCmd('format', 'html')
 
 $sitename = htmlspecialchars($app->get('sitename'), ENT_QUOTES, 'UTF-8')
 
if($params->get('logoFile')) elseif($params->get('sitetitle')) else
 
if($params->get('googleFont')) h2
 
if($params->get('googleFont')) h3
 
if($params->get('googleFont')) h4
 
if($params->get('googleFont')) h5
 
if($params->get('googleFont')) h6
 
if($params->get('googleFont')) site title
 
</style > endif
 
 if (file_exists( 'templates/' . $this->template . '/css/user.css'))
 
if($params->get('templateColor')) a
 
 $module = JModuleHelper::getModule('mod_search')
 
 $loop = $this->setError($this->_error->getPrevious())
 
 endwhile
 

Documentation des variables

◆ $app

$app = JFactory::getApplication()

◆ $format

$format = $app->input->getCmd('format', 'html')

◆ $itemid

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

◆ $layout

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

◆ $loop

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

◆ $module

$module = JModuleHelper::getModule('mod_search')

◆ $option

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

◆ $params

$params = $app->getTemplate(true)->params

◆ $sitename

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

◆ $task

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

◆ $user

$user = JFactory::getUser()

◆ $view

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

◆ a

if ( $params->get( 'templateColor')) a
Valeur initiale :
{
color: <?php echo $params->get('templateColor')
JFactory::getDocument() -> addStyleDeclaration(<<< CSS #dragarea color
Definition: plugins/installer/packageinstaller/tmpl/default.php:219
$params
Definition: templates/protostar/error.php:18

◆ else

if ( $params->get( 'logoFile')) elseif ( $params->get( 'sitetitle')) else
Valeur initiale :
{
$logo = '<span class="site-title" title="' . $sitename . '">' . $sitename . '</span>'
$logo
Definition: templates/beez3/error.php:21
$sitename
Definition: templates/protostar/error.php:27

◆ endif

endif

◆ endwhile

endwhile

◆ h2

if ( $params->get( 'googleFont')) h2

◆ h3

if ( $params->get( 'googleFont')) h3

Référencé par modChrome_rounded().

◆ h4

if ( $params->get( 'googleFont')) h4

◆ h5

if ( $params->get( 'googleFont')) h5

◆ h6

if ( $params->get( 'googleFont')) h6

◆ if

if(file_exists('templates/' . $this->template . '/css/user.css'))

◆ title

if ( $params->get( 'googleFont')) site title
Valeur initiale :
{
font-family: '<?php echo str_replace('+', ' ', $params->get('googleFontName')); ?>', sans-serif
background box font family
Definition: plugins/editors/codemirror/layouts/editors/codemirror/styles.php:50

Référencé par SitePathway\__construct(), Separator\__construct(), Heading\__construct(), Url\__construct(), FeedLink\__construct(), Component\__construct(), SimplePie_Enclosure\__construct(), CacheViewPurge\addToolbar(), UsersViewMail\addToolbar(), ModulesViewSelect\addToolbar(), PluginsViewPlugin\addToolbar(), LanguagesViewLanguage\addToolbar(), ModulesViewModule\addToolbar(), MessagesViewMessage\addToolbar(), RedirectViewLink\addToolbar(), PluginsViewPlugins\addToolbar(), LanguagesViewLanguages\addToolbar(), MessagesViewMessages\addToolbar(), TagsViewTag\addToolbar(), TemplatesViewStyles\addToolbar(), CacheViewCache\addToolbar(), UsersViewGroup\addToolbar(), UsersViewLevel\addToolbar(), MediaViewMedia\addToolbar(), InstallerViewLanguages\addToolbar(), SearchViewSearches\addToolbar(), InstallerViewDefault\addToolbar(), MenusViewMenutypes\addToolbar(), MenusViewMenu\addToolbar(), BannersViewBanner\addToolbar(), TemplatesViewStyle\addToolbar(), UsersViewUser\addToolbar(), FieldsViewField\addToolbar(), BannersViewClients\addToolbar(), UsersViewGroups\addToolbar(), UsersViewLevels\addToolbar(), BannersViewTracks\addToolbar(), UsersViewNote\addToolbar(), LanguagesViewOverrides\addToolbar(), PrivacyViewCapabilities\addToolbar(), MenusViewMenus\addToolbar(), BannersViewClient\addToolbar(), TagsViewTags\addToolbar(), TemplatesViewTemplates\addToolbar(), ContactViewContact\addToolbar(), AdminViewProfile\addToolbar(), LanguagesViewInstalled\addToolbar(), ModulesViewModules\addToolbar(), NewsfeedsViewNewsfeed\addToolbar(), ConfigViewApplicationHtml\addToolbar(), CheckinViewCheckin\addToolbar(), BannersViewBanners\addToolbar(), UsersViewDebuguser\addToolbar(), UsersViewDebuggroup\addToolbar(), ConfigViewComponentHtml\addToolbar(), FieldsViewGroup\addToolbar(), AdminViewHelp\addToolbar(), ActionlogsViewActionlogs\addToolbar(), ContentViewArticle\addToolbar(), LanguagesViewOverride\addToolbar(), MenusViewItem\addToolbar(), UsersViewNotes\addToolbar(), FinderViewFilter\addToolbar(), PrivacyViewRequest\addToolbar(), FieldsViewGroups\addToolbar(), FinderViewFilters\addToolbar(), CategoriesViewCategory\addToolbar(), NewsfeedsViewNewsfeeds\addToolbar(), PrivacyViewConsents\addToolbar(), FieldsViewFields\addToolbar(), FinderViewMaps\addToolbar(), RedirectViewLinks\addToolbar(), UsersViewUsers\addToolbar(), AdminViewSysinfo\addToolbar(), ContentViewFeatured\addToolbar(), PrivacyViewDashboard\addToolbar(), PrivacyViewRequests\addToolbar(), ContactViewContacts\addToolbar(), FinderViewIndex\addToolbar(), CategoriesViewCategories\addToolbar(), ContentViewArticles\addToolbar(), AssociationsViewAssociation\addToolbar(), TemplatesViewTemplate\addToolbar(), AssociationsViewAssociations\addToolbar(), MenusViewItems\addToolbar(), Usergroup\check(), Language\check(), MenuType\check(), ViewLevel\check(), FOFTableNested\check(), TemplatesTableStyle\check(), FieldsTableGroup\check(), TagsTableTag\check(), FieldsTableField\check(), Menu\check(), Module\check(), Category\check(), Content\check(), JoomlaupdateViewUpdate\display(), JoomlaupdateViewUpload\display(), CpanelViewCpanel\display(), SimplePie_Enclosure\get_title(), LoginModelLogin\getLoginModule(), ModuleHelper\getModule(), HtmlDocument\mergeHeadData(), modChrome_beezHide(), Nested\moveByReference(), FOFToolbar\onAdd(), FOFToolbar\onBrowse(), FOFToolbar\onCpanelsBrowse(), FOFToolbar\onRead(), ModulesControllerModule\orderPosition(), FOFToolbar\renderToolbarElement(), HtmlDocument\resetHeadData(), HtmlDocument\setHeadData(), Document\setTitle(), et Menu\store().