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 administrator/templates/hathor/html/layouts/joomla/edit/global.php

Espaces de nommage

 Joomla\Site
 

Variables

 $app = JFactory::getApplication()
 
 $form = $displayData->getForm()
 
 $input = $app->input
 
 $component = $input->getCmd('option', 'com_content')
 
if($component==='com_categories') $saveHistory = JComponentHelper::getParams($component)->get('save_history', 0)
 
 $fields
 
 $hiddenFields = $displayData->get('hidden_fields') ?: array()
 
if(! $saveHistory) $html = array()
 
 $html [] = '<fieldset class="panelform">'
 

Documentation des variables

◆ $app

$app = JFactory::getApplication()

◆ $component

$component = $input->getCmd('option', 'com_content')

◆ $fields

Valeur initiale :
= $displayData->get('fields') ?: array(
array('parent', 'parent_id'),
array('published', 'state', 'enabled'),
array('category', 'catid'),
'featured',
'sticky',
'access',
'language',
'tags',
'note',
'version_note',
)
else $displayData['item']
Definition: layouts/joomla/content/icons.php:47

◆ $form

$form = $displayData->getForm()

◆ $hiddenFields

$hiddenFields = $displayData->get('hidden_fields') ?: array()

◆ $html [1/2]

if (! $saveHistory) $html = array()

◆ $html [2/2]

foreach ( $fields as $field) $html[] = '<fieldset class="panelform">'

◆ $input

$input = $app->input

◆ $saveHistory

if ( $component==='com_categories') $saveHistory = JComponentHelper::getParams($component)->get('save_history', 0)