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/index.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', '')
 
 $sitename = htmlspecialchars($app->get('sitename'), ENT_QUOTES, 'UTF-8')
 
 $position7ModuleCount = $this->countModules('position-7')
 
 $position8ModuleCount = $this->countModules('position-8')
 
if($position7ModuleCount && $position8ModuleCount) elseif($position7ModuleCount &&! $position8ModuleCount) elseif(! $position7ModuleCount && $position8ModuleCount) else
 
 endif
 
 if ( $position8ModuleCount)
 

Documentation des variables

◆ $app

$app = JFactory::getApplication()

◆ $itemid

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

◆ $layout

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

◆ $option

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

◆ $params

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

◆ $position7ModuleCount

$position7ModuleCount = $this->countModules('position-7')

◆ $position8ModuleCount

$position8ModuleCount = $this->countModules('position-8')

◆ $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', '')

◆ else

if ( $this->params->get( 'logoFile')) elseif ( $this->params->get( 'sitetitle')) else
Valeur initiale :
{
$span = 'span12'

◆ endif

endif

◆ if

if($position7ModuleCount) (   $position8ModuleCount)