[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Joomla! Content Management System
Copyright: | (C) 2009 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 119 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
RulesRule:: (3 methods):
test()
getValueActions()
getFieldActions()
test(\SimpleXMLElement $element, $value, $group = null, Registry $input = null, Form $form = null) X-Ref |
Method to test the value. param: \SimpleXMLElement $element The SimpleXMLElement object representing the `<field>` tag for the form field object. param: mixed $value The form field value to validate. param: string $group The field name group control value. This acts as an array container for the field. param: Registry $input An optional Registry object with the entire data set to validate against the entire form. param: Form $form The form object for which the field is being tested. return: boolean True if the value is valid, false otherwise. |
getValueActions($value) X-Ref |
Method to get the list of permission action names from the form field value. param: mixed $value The form field value to validate. return: array A list of permission action names from the form field value. |
getFieldActions(\SimpleXMLElement $element) X-Ref |
Method to get the list of possible permission action names for the form field. param: \SimpleXMLElement $element The \SimpleXMLElement object representing the `<field>` tag for the form field object. return: array A list of permission action names from the form field element definition. |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |