Joomla CMS  3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
Référence du fichier layouts/joomla/editors/buttons/button.php

Espaces de nommage

 Joomla\Site
 

Variables

 $button = $displayData
 
if( $button->get( 'name'))('class') ? $class = $button->get('modal') ? ' modal-button' : null
 
 $href = $button->get('link') ? ' href="' . JUri::base() . $button->get('link') . '"' : null
 
 $onclick = $button->get('onclick') ? ' onclick="' . $button->get('onclick') . '"' : ''
 
 $title = $button->get('title') ?: $button->get('text')
 
 if ( $button->get( 'modal'))
 
 endif
 

Documentation des variables

◆ $button

$button = $displayData

◆ $class

if ($button->get('name')) ( 'class') ? $class = $button->get('modal') ? ' modal-button' : null

◆ $href

◆ $onclick

$onclick = $button->get('onclick') ? ' onclick="' . $button->get('onclick') . '"' : ''

◆ $title

$title = $button->get('title') ?: $button->get('text')

◆ endif

endif

◆ if

if($button->get('modal'))