get_rules
($group)
Parameters: |
|
---|---|
Returns: |
Array of validation rules as stored in the config file. If no rules are found for the group an empty array is returned |
Return type: |
array |
Fetches the validation rules for a validation group. Always returns an array, if the $group cannot be matched an empty array will be provided. The $group value is the value used for the ruleset name (eg "signup") in Creating Sets of Rules.