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

Fonctions membres publiques

 __get ($name)
 
 __set ($name, $value)
 
 setup (\SimpleXMLElement $element, $value, $group=null)
 

Champs de données

 $type = 'ChromeStyle'
 

Fonctions membres protégées

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

Attributs protégés

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

Description détaillée

Chrome Styles field.

Depuis
3.0

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 get the value.
Renvoie
mixed The property value or null.
Depuis
3.2

Références $clientId, et $name.

◆ __set()

__set (   $name,
  $value 
)

Method to set certain otherwise inaccessible properties of the form field object.

Paramètres
string$nameThe property name for which to get the value.
mixed$valueThe value of the property.
Renvoie
void
Depuis
3.2

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

◆ getGroups()

getGroups ( )
protected

Method to get the list of template chrome style options grouped by template.

Renvoie
array The field option objects as a nested array in groups.
Depuis
3.0

Références $groups, $style, $template, et $tmp.

◆ getSystemTemplate()

getSystemTemplate ( )
protected

Method to get the system template as an object.

Renvoie
The object of system template.
Depuis
3.0

Références $template.

◆ getTemplateModuleStyles()

getTemplateModuleStyles ( )
protected

Method to get the templates module styles.

Renvoie
array The array of styles, grouped by templates.
Depuis
3.0

Références $path, $template, JPATH_ADMINISTRATOR, et JPATH_SITE.

◆ getTemplates()

getTemplates ( )
protected

Return a list of templates

Renvoie
array List of templates
Depuis
3.2.1

Références $db, $query, et Factory\getDbo().

◆ 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.
Voir également
JFormField::setup()
Depuis
3.2

Références $client, $clientId, et $value.

Documentation des champs

◆ $clientId

$clientId
protected

◆ $type

$type = 'ChromeStyle'

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