1 | <?php |
||
23 | class Options extends Rule |
||
|
|||
24 | { |
||
25 | /** |
||
26 | * Method to test the value. |
||
27 | * |
||
28 | * @param SimpleXMLElement $element The SimpleXMLElement object representing the <field /> tag for the form field object. |
||
29 | * @param mixed $value The form field value to validate. |
||
30 | * @param string $group The field name group control value. This acts as as an array container for the field. |
||
31 | * For example if the field has name="foo" and the group value is set to "bar" then the |
||
32 | * full field name would end up being "bar[foo]". |
||
33 | * @param Registry $input An optional Registry object with the entire data set to validate against the entire form. |
||
34 | * @param Form $form The form object for which the field is being tested. |
||
35 | * |
||
36 | * @return boolean True if the value is valid, false otherwise. |
||
37 | * |
||
38 | * @since 1.0 |
||
39 | */ |
||
40 | public function test(SimpleXMLElement $element, $value, $group = null, Registry $input = null, Form $form = null) |
||
53 | } |
||
54 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.