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/components/com_modules/views/module/tmpl/edit.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $hasContent = isset($this->item->xml->customContent)
 
 $hasContentFieldName = 'content'
 
if($hasContent) $this fieldsets = $this->form->getFieldsets('params')
 
 $script
 
 $input = JFactory::getApplication()->input
 
 $isModal = $input->get('layout') == 'modal' ? true : false
 
 $layout = $isModal ? 'modal' : 'edit'
 
 $tmpl = $isModal || $input->get('tmpl', '', 'cmd') === 'component' ? '&tmpl=component' : ''
 
if( $this->item->xml)( $this->item->xml->description)($this->item->xml) else
 
 $short_description = JText::_($this->item->xml->description)
 
$this fieldset = 'description'
 
 $long_description = JLayoutHelper::render('joomla.edit.fieldset', $this)
 
 if (! $long_description)
 
 endif
 
else __pad0__
 
 $html = JLayoutHelper::render('joomla.edit.fieldset', $this)
 
$this fields
 
$this ignore_fieldsets = array('basic', 'description')
 

Documentation des variables

◆ $hasContent

$hasContent = isset($this->item->xml->customContent)

◆ $hasContentFieldName

$hasContentFieldName = 'content'

◆ $html

$html = JLayoutHelper::render('joomla.edit.fieldset', $this)

◆ $input

$input = JFactory::getApplication()->input

◆ $isModal

$isModal = $input->get('layout') == 'modal' ? true : false

◆ $layout

$layout = $isModal ? 'modal' : 'edit'

◆ $long_description

$long_description = JLayoutHelper::render('joomla.edit.fieldset', $this)

◆ $script

if ( $hasContent) $script
Valeur initiale :
= "
Joomla.submitbutton = function(task) {
if (task == 'module.cancel' || document.formvalidator.isValid(document.getElementById('module-form')))
{
"

◆ $short_description

$short_description = JText::_($this->item->xml->description)

◆ $tmpl

$tmpl = $isModal || $input->get('tmpl', '', 'cmd') === 'component' ? '&tmpl=component' : ''

◆ __pad0__

else __pad0__

◆ else

if($this->item->xml) ($this->item->xml->description) ( $this->item->xml) else
Valeur initiale :
{
echo JText::_('COM_MODULES_ERR_XML')

◆ endif

endif

◆ fields

$this fields
Valeur initiale :
= array(
'published',
'publish_up',
'publish_down',
'access',
'ordering',
'language',
'note'
)

◆ fieldset

bool $groupByFieldset Whether group the subform fields by it s fieldset = 'description'

◆ fieldsets

$this fieldsets = $this->form->getFieldsets('params')

◆ if

if(! $long_description)

◆ ignore_fieldsets

$this ignore_fieldsets = array('basic', 'description')