Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier layouts/joomla/editors/buttons/modal.php

Espaces de nommage

 Joomla\Site
 

Variables

 $button = $displayData
 
if(! $button->get('modal')) $class = ($button->get('class')) ? $button->get('class') : null
 
 $href = '#' . strtolower($button->get('name')) . '_modal'
 
 $link = ($button->get('link')) ? Uri::base() . $button->get('link') : null
 
 $onclick = ($button->get('onclick')) ? ' onclick="' . $button->get('onclick') . '"' : ''
 
 $title = ($button->get('title')) ? $button->get('title') : $button->get('text')
 
 $options = is_array($button->get('options')) ? $button->get('options') : array()
 
 $confirm = ''
 
if(is_array($button->get('options')) &&isset($options['confirmText']) &&isset($options['confirmCallback'])) if(null !==$button->get('id')) else
 

Documentation des variables

◆ $button

$button = $displayData

◆ $class

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

◆ $confirm

$confirm = ''

◆ $href

$href = '#' . strtolower($button->get('name')) . '_modal'

◆ $link

$link = ($button->get('link')) ? Uri::base() . $button->get('link') : null

◆ $onclick

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

◆ $options

$options = is_array($button->get('options')) ? $button->get('options') : array()

◆ $title

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

◆ else

if (is_array( $button->get( 'options')) &&isset( $options[ 'confirmText']) &&isset( $options[ 'confirmCallback'])) if (null !==$button->get( 'id')) else
Valeur initiale :
{
$id = strtolower($button->get('name')) . '_modal'
$id
Definition: com_modules/tmpl/module/edit_assignment.php:93
$button
Definition: layouts/joomla/editors/buttons/modal.php:17