Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier com_content/tmpl/category/default_articles.php

Espaces de nommage

 Joomla\Site
 

Variables

 $wa = $this->document->getWebAssetManager()
 
 $n = count($this->items)
 
 $listOrder = $this->escape($this->state->get('list.ordering'))
 
 $listDirn = $this->escape($this->state->get('list.direction'))
 
 $langFilter = false
 
if(($this->params->get('filter_field')==='tag') &&(Multilanguage::isEnabled())) $isEditable = false
 
if(!empty($this->items)) $currentDate = Factory::getDate()->format('Y-m-d H:i:s')
 
else __pad3__
 
 endif
 
else __pad4__
 
foreach( $this->items as $i=> $article)($this->items[$i]->state==ContentComponent::CONDITION_UNPUBLISHED) else
 
else __pad5__
 
 endforeach
 
else __pad6__
 
 $itemId = Factory::getApplication()->getMenu()->getActive()->id
 
 $link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false))
 
else __pad7__
 
else __pad8__
 
else __pad9__
 
else __pad10__
 
else $author
 
if( $this->params->get( 'list_show_hits', 1))($this->params->get('show_headings')) $article hits
 
if( $this->params->get( 'list_show_votes', 0) &&$this->vote)($this->params->get('show_headings')) $article rating_count
 
if( $this->params->get( 'list_show_ratings', 0) &&$this->vote)($this->params->get('show_headings')) $article rating
 

Documentation des variables

◆ $author

else $author

◆ $currentDate

if (!empty( $this->items)) $currentDate = Factory::getDate()->format('Y-m-d H:i:s')

◆ $isEditable

if (( $this->params->get( 'filter_field')==='tag') &&(Multilanguage::isEnabled())) $isEditable = false

◆ $itemId

$itemId = Factory::getApplication()->getMenu()->getActive()->id

◆ $langFilter

$langFilter = false

◆ $link

$link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false))

◆ $listDirn

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

◆ $listOrder

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

◆ $n

$n = count($this->items)

◆ $wa

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

◆ __pad10__

else __pad10__

◆ __pad3__

else __pad3__

◆ __pad4__

else __pad4__

◆ __pad5__

else __pad5__

◆ __pad6__

else __pad6__

◆ __pad7__

else __pad7__

◆ __pad8__

else __pad8__

◆ __pad9__

else __pad9__

◆ else

if ($this->params->get('list_show_ratings', 0) && $this->vote) ( $this->params->get( 'show_headings')) else

◆ endforeach

endforeach

◆ endif

endif

◆ hits

if ($this->params->get('list_show_hits', 1)) ( $this->params->get( 'show_headings')) $article hits

◆ rating

if ($this->params->get('list_show_ratings', 0) && $this->vote) ( $this->params->get( 'show_headings')) $article rating

◆ rating_count

if ($this->params->get('list_show_votes', 0) && $this->vote) ( $this->params->get( 'show_headings')) $article rating_count