Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier administrator/components/com_languages/tmpl/multilangstatus/default.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $notice_disabled = !$this->language_filter && ($this->homes > 1 || $this->switchers != 0)
 
 $notice_switchers = !$this->switchers && ($this->homes > 1 || $this->language_filter)
 
 $content_languages = array_column($this->contentlangs, 'lang_code')
 
 $sitelangs = array_column($this->site_langs, 'element')
 
 $home_pages = array_column($this->homepages, 'language')
 
else __pad6__
 
 endif
 
else __pad7__
 
else __pad8__
 
 endforeach
 
else __pad9__
 
if($this->switchers !=0) else
 
else __pad10__
 
else __pad11__
 
else __pad12__
 
else __pad13__
 
foreach ($this->contentlangs as $contentlang) (!array_key_exists( $contentlang->lang_code, $this->site_langs))
 
else __pad14__
 
foreach ($sitelangs as $sitelang) (!in_array( $sitelang, $content_languages) &&in_array( $sitelang, $home_pages))
 

Documentation des variables

◆ $content_languages

else $content_languages = array_column($this->contentlangs, 'lang_code')

◆ $home_pages

$home_pages = array_column($this->homepages, 'language')

◆ $notice_disabled

$notice_disabled = !$this->language_filter && ($this->homes > 1 || $this->switchers != 0)

◆ $notice_switchers

$notice_switchers = !$this->switchers && ($this->homes > 1 || $this->language_filter)

◆ $sitelangs

$sitelangs = array_column($this->site_langs, 'element')

Référencé par LanguagesHelper\getList().

◆ ($sitelangs as $sitelang)

foreach ( $sitelangs as $sitelang)(!in_array($sitelang, $content_languages) &&in_array($sitelang, $home_pages))

◆ ($this->contentlangs as $contentlang)

foreach ( $this->contentlangs as $contentlang)(!array_key_exists($contentlang->lang_code, $this->site_langs))

◆ __pad10__

else __pad10__

◆ __pad11__

else __pad11__

◆ __pad12__

else __pad12__

◆ __pad13__

else __pad13__

◆ __pad14__

else __pad14__

◆ __pad6__

else __pad6__

◆ __pad7__

else __pad7__

◆ __pad8__

else __pad8__

◆ __pad9__

else __pad9__

◆ else

if ( $this->homes > 1) else

◆ endforeach

endforeach

◆ endif

endif