Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe RawFilter
+ Graphe d'héritage de RawFilter:

Fonctions membres publiques

 filter (\SimpleXMLElement $element, $value, $group=null, Registry $input=null, Form $form=null)
 

Description détaillée

Form Filter class for raw values

Depuis
4.0.0

Documentation des fonctions membres

◆ filter()

filter ( \SimpleXMLElement  $element,
  $value,
  $group = null,
Registry  $input = null,
Form  $form = null 
)

Method to filter a field value.

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]".
Registry$inputAn optional Registry object with the entire data set to validate against the entire form.
Form$formThe form object for which the field is being tested.
Renvoie
mixed The filtered value.
Depuis
4.0.0

Implémente FormFilterInterface.

Références $value.


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