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é
Référence de la classe UsergrouplistField
+ Graphe d'héritage de UsergrouplistField:

Fonctions membres publiques

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

Fonctions membres protégées

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

Attributs protégés

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

Attributs protégés statiques

static $options = array()
 

Description détaillée

Field to load a dropdown list of available user groups

Depuis
3.2

Documentation des fonctions membres

◆ getOptions()

getOptions ( )
protected

Method to get the options to populate list

Renvoie
array The field option objects.
Depuis
3.2

Références $groups, $options, Access\checkGroup(), UserGroupsHelper\getInstance(), et Factory\getUser().

◆ 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
1.7.0

Références $value.

Documentation des champs

◆ $options

$options = array()
staticprotected

◆ $type

$type = 'UserGroupList'
protected

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