IntarrayFilter
Implements FormFilterInterfaceForm Filter class for integer arrays
since |
4.0.0 |
---|---|
package |
Joomla CMS |
Methods
filter
Method to filter a field value.
filter(\SimpleXMLElement element, mixed value, string group = null, \Joomla\Registry\Registry input = null, \Joomla\CMS\Form\Form form = null) : mixed
since |
4.0.0 |
---|
Arguments
- element
\SimpleXMLElement
The SimpleXMLElement object representing the<field>
tag for the form field object.- value
mixed
The form field value to validate.- group
string
The 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]".- input
\Joomla\Registry\Registry
An optional Registry object with the entire data set to validate against the entire form.- form
\Joomla\CMS\Form\Form
The form object for which the field is being tested.
Response
mixed
The filtered value.