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

Fonctions membres publiques

 __set ($name, $value)
 
 __get ($name)
 
 setup (SimpleXMLElement $element, $value, $group=null)
 
- Fonctions membres publiques hérités de JFormFieldCheckboxes
 __get ($name)
 
 __set ($name, $value)
 
 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

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

Attributs protégés

 $type = 'ConsentBox'
 
 $forceMultiple = false
 
 $articleid
 
- Attributs protégés hérités de JFormFieldCheckboxes
 $type = 'Checkboxes'
 
 $layout = 'joomla.form.field.checkboxes'
 
 $forceMultiple = true
 
- Attributs protégés hérités de JFormFieldList
 $type = 'List'
 

Fonctions membres privées

 getAssignedArticleUrl ()
 

Membres hérités additionnels

- Champs de données hérités de JFormFieldCheckboxes
 $checkedOptions
 

Description détaillée

Consentbox Field class for the Confirm Consent Plugin.

Depuis
3.9.1

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.9.1

Références $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 set the value.
mixed$valueThe value of the property.
Renvoie
void
Depuis
3.9.1

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

◆ getAssignedArticleUrl()

getAssignedArticleUrl ( )
private

Return the url of the assigned article based on the current user language

Renvoie
string Returns the link to the article
Depuis
3.9.1

Références $article, $db, $query, ContentHelperRoute\getArticleRoute(), JPATH_BASE, language, et JLoader\register().

◆ getInput()

getInput ( )
protected

Method to get the field input markup.

Renvoie
string The field input markup.
Depuis
3.9.2

◆ getLabel()

getLabel ( )
protected

Method to get the field label markup.

Renvoie
string The field label markup.
Depuis
3.9.1

Références $attribs, $data, et $position.

◆ getLayoutData()

getLayoutData ( )
protected

Method to get the data to be passed to the layout for rendering.

Renvoie
array
Depuis
3.9.1

Références $data.

◆ 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.9.1

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

Documentation des champs

◆ $articleid

$articleid
protected

◆ $forceMultiple

$forceMultiple = false
protected

◆ $type

$type = 'ConsentBox'
protected

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