Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier administrator/components/com_content/tmpl/article/edit.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $wa = $this->document->getWebAssetManager()
 
$this configFieldsets = array('editorConfig')
 
$this hiddenFieldsets = array('basic-limited')
 
 $fieldsetsInImages = ['image-intro', 'image-full']
 
 $fieldsetsInLinks = ['linka', 'linkb', 'linkc']
 
$this ignore_fieldsets = array_merge(array('jmetadata', 'item_associations'), $fieldsetsInImages, $fieldsetsInLinks)
 
$this useCoreUI = true
 
 $params = clone $this->state->get('params')
 
 $input = Factory::getApplication()->input
 
 $assoc = Associations::isEnabled()
 
 $showArticleOptions = $params->get('show_article_options', 1)
 
if(! $assoc||! $showArticleOptions) if(! $showArticleOptions) $isModal = $input->get('layout') === 'modal'
 
 $layout = $isModal ? 'modal' : 'edit'
 
 $tmpl = $isModal || $input->get('tmpl', '', 'cmd') === 'component' ? '&tmpl=component' : ''
 
 foreach ( $fieldsetsInImages as $fieldset)
 
 endforeach
 
 endif
 

Documentation des variables

◆ $assoc

$assoc = Associations::isEnabled()

◆ $fieldsetsInImages

$fieldsetsInImages = ['image-intro', 'image-full']

◆ $fieldsetsInLinks

$fieldsetsInLinks = ['linka', 'linkb', 'linkc']

◆ $input

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

◆ $isModal

if (! $assoc||! $showArticleOptions) if (! $showArticleOptions) $isModal = $input->get('layout') === 'modal'

◆ $layout

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

◆ $params

$params = clone $this->state->get('params')

◆ $showArticleOptions

$showArticleOptions = $params->get('show_article_options', 1)

◆ $tmpl

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

◆ $wa

$wa = $this->document->getWebAssetManager()

◆ configFieldsets

$this configFieldsets = array('editorConfig')

◆ endforeach

endforeach

◆ endif

endif

◆ foreach

foreach($fieldsetsInLinks as $fieldset) (   $fieldsetsInImages as)

◆ hiddenFieldsets

$this hiddenFieldsets = array('basic-limited')

◆ ignore_fieldsets

$this ignore_fieldsets = array_merge(array('jmetadata', 'item_associations'), $fieldsetsInImages, $fieldsetsInLinks)

◆ useCoreUI

$this useCoreUI = true