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é
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence du fichier templates/beez3/html/com_content/featured/default_item.php

Espaces de nommage

 Joomla\Site
 

Variables

 $canEdit = $this->item->params->get('access-edit')
 
 $params = &$this->item->params
 
 $showPrintIcon = $params->get('show_print_icon')
 
 $showEmailIcon = $params->get('show_email_icon')
 
 $images = json_decode($this->item->images)
 
 $app = JFactory::getApplication()
 
 $templateparams = $app->getTemplate(true)->params
 
 $currentDate = JFactory::getDate()->format('Y-m-d H:i:s')
 
 $isUnpublished
 
else __pad17__
 
 endif
 
 $title = $title ?: JText::_('JGLOBAL_UNCATEGORISED')
 
 $url = '<a href="' . JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->parent_slug)) . '">' . $title . '</a>'
 
else __pad18__
 
else __pad19__
 
else __pad20__
 
else $author
 
else __pad21__
 
 $active = $menu->getActive()
 
 $itemId = $active->id
 
 $link = new JUri(JRoute::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false))
 
else __pad22__
 
 if ( $isUnpublished)
 

Documentation des variables

◆ $active

$active = $menu->getActive()

◆ $app

$app = JFactory::getApplication()

◆ $author

else $author

◆ $canEdit

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

◆ $currentDate

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

◆ $images

$images = json_decode($this->item->images)

◆ $isUnpublished

$isUnpublished
Valeur initiale :
= ($this->item->state == 0 || $this->item->publish_up > $currentDate)
|| ($this->item->publish_down < $currentDate && $this->item->publish_down !== JFactory::getDbo()->getNullDate())
else $this item
Definition: components/com_content/views/article/tmpl/default.php:76
$currentDate
Definition: templates/beez3/html/com_content/featured/default_item.php:23

◆ $itemId

$itemId = $active->id

◆ $link

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

◆ $params

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

◆ $showEmailIcon

$showEmailIcon = $params->get('show_email_icon')

◆ $showPrintIcon

$showPrintIcon = $params->get('show_print_icon')

◆ $templateparams

$templateparams = $app->getTemplate(true)->params

◆ $title

else $title = $title ?: JText::_('JGLOBAL_UNCATEGORISED')

◆ $url

$url = '<a href="' . JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->parent_slug)) . '">' . $title . '</a>'

◆ __pad17__

else __pad17__

◆ __pad18__

else __pad18__

◆ __pad19__

else __pad19__

◆ __pad20__

else __pad20__

◆ __pad21__

else __pad21__

◆ __pad22__

else __pad22__

◆ endif

endif

◆ if

if($isUnpublished)