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 JFormFieldType
+ Graphe d'héritage de JFormFieldType:

Fonctions membres publiques

 setup (SimpleXMLElement $element, $value, $group=null)
 
 getOptions ()
 
- Fonctions membres publiques hérités de JFormFieldList
 addOption ($text, $attributes=array())
 
 __get ($name)
 

Champs de données

 $type = 'Type'
 

Fonctions membres protégées

 getOptions ()
 
- Fonctions membres protégées hérités de JFormFieldList
 getInput ()
 
 getOptions ()
 

Membres hérités additionnels

- Attributs protégés hérités de JFormFieldList
 $type = 'List'
 

Description détaillée

Fields Type

Depuis
3.7.0

Form field for a list of extension types.

Depuis
3.5

Documentation des fonctions membres

◆ getOptions() [1/2]

getOptions ( )

Method to get the field options.

Renvoie
array The field option objects.
Depuis
3.5

Références $options, et InstallerHelper\getExtensionTypes().

◆ getOptions() [2/2]

getOptions ( )
protected

Method to get the field options.

Renvoie
array The field option objects.
Depuis
3.7.0

Références $b, $options, getDocument, et FieldsHelper\getFieldTypes().

◆ setup()

setup ( SimpleXMLElement  $element,
  $value,
  $group = null 
)

Method to attach a JForm object to the field.

Paramètres
SimpleXMLElement$elementThe SimpleXMLElement object representing the <field> tag for the form field object.
mixed$valueThe form field value to validate.
string$groupThe field name group control value. This acts as an array container for the field. For example if the field has name="foo" and the group value is set to "bar" then the full field name would end up being "bar[foo]".
Renvoie
boolean True on success.
Depuis
3.7.0

Références $return, et $value.

Documentation des champs

◆ $type

$type = 'Type'

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