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é
|
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) | |
$active = $menu->getActive() |
$assocParam = (JLanguageAssociations::isEnabled() && $params->get('show_associations')) |
$currentDate = JFactory::getDate()->format('Y-m-d H:i:s') |
$info = $this->item->params->get('info_block_position', 0) |
$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 |
$itemId = $active->id |
$params = &$this->item->params |
$useDefList |
else __pad0__ |
else __pad1__ |
endif |
if($isUnpublished) |