Rules chained to this one via "and" and "or" operators
The contents can be described as "disjunctive normal form", where an outer array represents a disjunction of conjunctive clauses represented by inner arrays.
Evaluation is short-circuited, next rule will not be evaluated if the previous one returns false. The method is named this way because "and" is a reserved word in PHP.
Return: first rule in the chain (i.e. $this)
Throws: HTML_QuickForm2_InvalidArgumentException when trying to add a "required" rule to the chain
Returns IDs of form fields that should trigger "live" Javascript validation
This returns IDs that are linked to the rule itself and its chained rules. Live validation will be be triggered by 'blur' or 'change' event on any of the elements whose IDs are returned by this method.
Evaluation is short-circuited, next rule will not be evaluated if the previous one returns true. The method is named this way because "or" is a reserved word in PHP.
Return: first rule in the chain (i.e. $this)
Throws: HTML_QuickForm2_InvalidArgumentException when trying to add a "required" rule to the chain
Throws: HTML_QuickForm2_InvalidArgumentException if trying to validate HTML_QuickForm2_Element_InputHidden with a non-empty error message (e.g. not in Rule chain)
Sets the element that will be validated by this rule
Throws: HTML_QuickForm2_InvalidArgumentException if trying to set an instance of HTML_QuickForm2_Element_Static as rule owner; if trying to validate HTML_QuickForm2_Element_InputHidden with a non-empty error message (e.g. not in Rule chain)