Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe SpacerField
+ Graphe d'héritage de SpacerField:

Fonctions membres publiques

 renderField ($options=array())
 
- Fonctions membres publiques hérités de FormField
 __construct ($form=null)
 
 __get ($name)
 
 __set ($name, $value)
 
 setForm (Form $form)
 
 setup (\SimpleXMLElement $element, $value, $group=null)
 
 setValue ($value)
 
 getAttribute ($name, $default=null)
 
 getDataAttributes ()
 
 renderDataAttributes ()
 
 render ($layoutId, $data=array())
 
 renderField ($options=array())
 
 filter ($value, $group=null, Registry $input=null)
 
 validate ($value, $group=null, Registry $input=null)
 
 postProcess ($value, $group=null, Registry $input=null)
 
- Fonctions membres publiques hérités de DatabaseAwareInterface
 setDatabase (DatabaseInterface $db)
 

Fonctions membres protégées

 getInput ()
 
 getLabel ()
 
 getTitle ()
 
- Fonctions membres protégées hérités de FormField
 getId ($fieldId, $fieldName)
 
 getInput ()
 
 getTitle ()
 
 getLabel ()
 
 getName ($fieldName)
 
 getFieldName ($fieldName)
 
 getLayoutData ()
 
 getLayoutPaths ()
 
 getRenderer ($layoutId='default')
 
 isDebugEnabled ()
 

Attributs protégés

 $type = 'Spacer'
 
- Attributs protégés hérités de FormField
 $description
 
 $hint
 
 $autocomplete = 'on'
 
 $spellcheck = true
 
 $autofocus = false
 
 $element
 
 $form
 
 $formControl
 
 $hidden = false
 
 $hiddenLabel = false
 
 $hiddenDescription = false
 
 $translateLabel = true
 
 $translateDescription = true
 
 $translateHint = true
 
 $id
 
 $input
 
 $label
 
 $multiple = false
 
 $pattern
 
 $validationtext
 
 $name
 
 $fieldname
 
 $group
 
 $required = false
 
 $disabled = false
 
 $readonly = false
 
 $type
 
 $validate
 
 $value
 
 $default
 
 $size
 
 $class
 
 $labelclass
 
 $onchange
 
 $onclick
 
 $showon
 
 $parentclass
 
 $layout
 
 $renderLayout = 'joomla.form.renderfield'
 
 $renderLabelLayout = 'joomla.form.renderlabel'
 
 $dataAttributes = array()
 

Membres hérités additionnels

- Champs de données hérités de FormField
 $repeat = false
 
- Attributs protégés statiques hérités de FormField
static $count = 0
 
static $generated_fieldname = '__field'
 

Description détaillée

Form Field class for the Joomla Platform. Provides spacer markup to be used in form layouts.

Depuis
1.7.0

Documentation des fonctions membres

◆ getInput()

getInput ( )
protected

Method to get the field input markup for a spacer. The spacer does not have accept input.

Renvoie
string The field input markup.
Depuis
1.7.0

◆ getLabel()

getLabel ( )
protected

Method to get the field label markup for a spacer. Use the label text or name from the XML element as the spacer or Use a hr="true" to automatically generate plain hr markup

Renvoie
string The field label markup.
Depuis
1.7.0

Références $class, $html, $label, $text, Text\_(), HTMLHelper\_(), description, ENT_COMPAT, Factory\getLanguage(), if, et true.

◆ getTitle()

getTitle ( )
protected

Method to get the field title.

Renvoie
string The field title.
Depuis
1.7.0

◆ renderField()

renderField (   $options = array())

Method to get a control group with label and input.

Paramètres
array$optionsOptions to be passed into the rendering of the field
Renvoie
string A string containing the html for the control group
Depuis
3.7.3

Références $options.

Documentation des champs

◆ $type

$type = 'Spacer'
protected

La documentation de cette classe a été générée à partir du fichier suivant :