Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier com_fields/layouts/field/render.php

Espaces de nommage

 Joomla\Site
 

Variables

if(!array_key_exists('field', $displayData)) $field = $displayData['field']
 
 $label = Text::_($field->label)
 
 $value = $field->value
 
 $showLabel = $field->params->get('showlabel')
 
 $prefix = Text::plural($field->params->get('prefix'), $value)
 
 $suffix = Text::plural($field->params->get('suffix'), $value)
 
 $labelClass = $field->params->get('label_render_class')
 
 $valueClass = $field->params->get('value_render_class')
 
if($value=='') if ( $showLabel==1)
 
 endif
 

Documentation des variables

◆ $field

if (!array_key_exists( 'field', $displayData)) $field = $displayData['field']

◆ $label

$label = Text::_($field->label)

◆ $labelClass

$labelClass = $field->params->get('label_render_class')

◆ $prefix

$prefix = Text::plural($field->params->get('prefix'), $value)

◆ $showLabel

$showLabel = $field->params->get('showlabel')

◆ $suffix

◆ $value

$value = $field->value

◆ $valueClass

$valueClass = $field->params->get('value_render_class')

◆ endif

endif

◆ if

if ( $value=='') if($showLabel==1)