generateRules() public method
Generates validation rules for the specified collection.
public array generateRules ( $attributes ) | ||
---|---|---|
$attributes | array |
The list of attributes |
return | array |
The generated validation rules |
generateRules() public method
Generates validation rules for the specified collection.
public array generateRules ( $attributes ) | ||
---|---|---|
$attributes | array |
The list of attributes |
return | array |
The generated validation rules |
Please login to continue.