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 components/com_content/views/featured/tmpl/default_item.php

Espaces de nommage

 Joomla\Site
 

Variables

 $params = &$this->item->params
 
 $canEdit = $this->item->params->get('access-edit')
 
 $info = $this->item->params->get('info_block_position', 0)
 
 $assocParam = (JLanguageAssociations::isEnabled() && $params->get('show_associations'))
 
 $currentDate = JFactory::getDate()->format('Y-m-d H:i:s')
 
 $isExpired = $this->item->publish_down < $currentDate && $this->item->publish_down !== JFactory::getDbo()->getNullDate()
 
 $isNotPublishedYet = $this->item->publish_up > $currentDate
 
 $isUnpublished = $this->item->state == 0 || $isNotPublishedYet || $isExpired
 
else __pad0__
 
 endif
 
 $useDefList
 
else __pad1__
 
 $active = $menu->getActive()
 
 $itemId = $active->id
 
 $link = new JUri(JRoute::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false))
 
 if ( $isUnpublished)
 

Documentation des variables

◆ $active

$active = $menu->getActive()

◆ $assocParam

$assocParam = (JLanguageAssociations::isEnabled() && $params->get('show_associations'))

◆ $canEdit

$canEdit = $this->item->params->get('access-edit')

◆ $currentDate

$currentDate = JFactory::getDate()->format('Y-m-d H:i:s')

◆ $info

$info = $this->item->params->get('info_block_position', 0)

◆ $isExpired

$isExpired = $this->item->publish_down < $currentDate && $this->item->publish_down !== JFactory::getDbo()->getNullDate()

◆ $isNotPublishedYet

$isNotPublishedYet = $this->item->publish_up > $currentDate

◆ $isUnpublished

$isUnpublished = $this->item->state == 0 || $isNotPublishedYet || $isExpired

◆ $itemId

$itemId = $active->id

◆ $link

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

◆ $params

$params = &$this->item->params

◆ $useDefList

$useDefList
Valeur initiale :
= ($params->get('show_modify_date') || $params->get('show_publish_date') || $params->get('show_create_date')
|| $params->get('show_hits') || $params->get('show_category') || $params->get('show_parent_category') || $params->get('show_author') || $assocParam)
$assocParam
Definition: components/com_content/views/featured/tmpl/default_item.php:18
$params
Definition: components/com_content/views/featured/tmpl/default_item.php:13

◆ __pad0__

else __pad0__

◆ __pad1__

else __pad1__

◆ endif

endif

◆ if

if($isUnpublished)