Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe FOFFormFieldGroupedlist
+ Graphe d'héritage de FOFFormFieldGroupedlist:

Fonctions membres publiques

 __get ($name)
 
 getStatic ()
 
 getRepeatable ()
 

Fonctions membres publiques statiques

static getOptionName ($data, $selected=null, $groupKey='items', $optKey='value', $optText='text')
 

Champs de données

 $item
 
 $rowid
 

Attributs protégés

 $static
 
 $repeatable
 
- Attributs protégés hérités de JFormFieldGroupedList
 $type = 'GroupedList'
 

Membres hérités additionnels

- Fonctions membres protégées hérités de JFormFieldGroupedList
 getGroups ()
 
 getInput ()
 

Documentation des fonctions membres

◆ __get()

__get (   $name)

Method to get certain otherwise inaccessible properties from the form field object.

Paramètres
string$nameThe property name for which to the the value.
Renvoie
mixed The property value or null.
Depuis
2.0

Références $name.

◆ getOptionName()

static getOptionName (   $data,
  $selected = null,
  $groupKey = 'items',
  $optKey = 'value',
  $optText = 'text' 
)
static

Gets the active option's label given an array of JHtml options

Paramètres
array$dataThe JHtml options to parse
mixed$selectedThe currently selected value
string$groupKeyGroup name
string$optKeyKey name
string$optTextValue name
Renvoie
mixed The label of the currently selected option

Références $data, $label, $selected, elseif, FOFFormFieldList\getOptionName(), et null.

Référencé par FOFFormFieldTimezone\getStatic().

◆ getRepeatable()

getRepeatable ( )

Get the rendering of this field type for a repeatable (grid) display, e.g. in a view listing many item (typically a "browse" task)

Depuis
2.0
Renvoie
string The field HTML

Implémente FOFFormField.

Références $class, $selected, ENT_COMPAT, htmlspecialchars, et value.

◆ getStatic()

getStatic ( )

Get the rendering of this field type for static display, e.g. in a single item view (typically a "read" task).

Depuis
2.0
Renvoie
string The field HTML

Implémente FOFFormField.

Références $class, $selected, ENT_COMPAT, htmlspecialchars, et value.

Documentation des champs

◆ $item

$item

◆ $repeatable

$repeatable
protected

◆ $rowid

$rowid

◆ $static

$static
protected

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