Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier layouts/joomla/content/icons/edit.php

Espaces de nommage

 Joomla\Site
 

Variables

 $article = $displayData['article']
 
 $tooltip = $displayData['tooltip']
 
 $nowDate = strtotime(Factory::getDate())
 
 $icon = $article->state ? 'edit' : 'eye-slash'
 
 $currentDate = Factory::getDate()->format('Y-m-d H:i:s')
 
 $isUnpublished
 
if($isUnpublished) $aria_described = 'editarticle-' . (int) $article->id
 

Documentation des variables

◆ $aria_described

if ( $isUnpublished) $aria_described = 'editarticle-' . (int) $article->id

Référencé par Icon\edit().

◆ $article

◆ $currentDate

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

◆ $icon

$icon = $article->state ? 'edit' : 'eye-slash'

◆ $isUnpublished

$isUnpublished
Valeur initiale :
= ($article->publish_up > $currentDate)
|| !is_null($article->publish_down) && ($article->publish_down < $currentDate)
$article
Definition: layouts/joomla/content/icons/edit.php:16
$currentDate
Definition: layouts/joomla/content/icons/edit.php:21

◆ $nowDate

◆ $tooltip