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/articles/modal.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $app = Factory::getApplication()
 
 $wa = $this->document->getWebAssetManager()
 
 $function = $app->input->getCmd('function', 'jSelectArticle')
 
 $editor = $app->input->getCmd('editor', '')
 
 $listOrder = $this->escape($this->state->get('list.ordering'))
 
 $listDirn = $this->escape($this->state->get('list.direction'))
 
 $onclick = $this->escape($function)
 
 $multilang = Multilanguage::isEnabled()
 
 if (!empty( $editor))
 
else __pad4__
 
 endif
 
 $iconStates
 
foreach( $this->items as $i=> $item)($item->language && $multilang) elseif (! $multilang)
 
 $attribs
 
else __pad5__
 
 endforeach
 

Documentation des variables

◆ $app

$app = Factory::getApplication()

◆ $attribs

$attribs
Valeur initiale :
= 'data-function="' . $this->escape($onclick) . '"'
. ' data-id="' . $item->id . '"'
. ' data-title="' . $this->escape($item->title) . '"'
. ' data-cat-id="' . $this->escape($item->catid) . '"'
. ' data-uri="' . $this->escape(RouteHelper::getArticleRoute($item->id, $item->catid, $item->language)) . '"'
. ' data-language="' . $this->escape($lang) . '"'
$lang
Definition: administrator/components/com_categories/tmpl/categories/emptystate.php:22
$onclick
Definition: administrator/components/com_content/tmpl/articles/modal.php:38
else $item
Definition: administrator/components/com_menus/tmpl/items/modal.php:165
Exemples:
C:/laragon/www/_install/Joomla_422-Stable-Full_Package_French_v1/libraries/src/HTML/HTMLHelper.php.

Référencé par HtmlDocument\_parseTemplate(), HtmlView\_prepareDocument(), CategoryView\addFeed(), HtmlDocument\addHeadLink(), Document\addScript(), Document\addStyleSheet(), Access\assetgrouplist(), Select\booleanlist(), HTMLHelper\calendar(), JHtmlIcon\create(), Icon\create(), JHtmlIcon\edit(), Icon\edit(), Select\genericlist(), UpdateModel\getCollectionDetailsUrls(), TosField\getLabel(), ConsentBoxField\getLabel(), Select\groupedlist(), HTMLHelper\iframe(), HTMLHelper\image(), Select\integerlist(), Access\level(), HTMLHelper\link(), Menu\menuItemList(), ListHelper\ordering(), Select\radiolist(), ModuleRenderer\render(), StylesRenderer\renderElement(), ScriptsRenderer\renderElement(), ScriptsRenderer\renderInlineElement(), StylesRenderer\renderInlineElement(), ModuleHelper\renderModule(), HTMLHelper\script(), HTMLHelper\stylesheet(), Form\token(), et Access\usergroup().

◆ $editor

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

◆ $function

$function = $app->input->getCmd('function', 'jSelectArticle')

◆ $iconStates

$iconStates
Valeur initiale :
= array(
-2 => 'icon-trash',
0 => 'icon-times',
1 => 'icon-check',
)

◆ $listDirn

$listDirn = $this->escape($this->state->get('list.direction'))

◆ $listOrder

$listOrder = $this->escape($this->state->get('list.ordering'))

◆ $multilang

$multilang = Multilanguage::isEnabled()

◆ $onclick

$onclick = $this->escape($function)

◆ $wa

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

◆ __pad4__

else __pad4__

◆ __pad5__

else __pad5__

◆ elseif

foreach ($this->items as $i => $item) ( $item->language &&$multilang) elseif(! $multilang)

◆ endforeach

endforeach

◆ endif

endif

◆ if

if(!empty($editor))