Revision #5 has been created by Maurizio Domba Cerin on Oct 27, 2010, 10:42:54 AM with the memo:
fixed typo error
« previous (#4) next (#7) »
Changes
Title
unchanged
Reference: Model rules validation
Category
unchanged
Tutorials
Yii version
unchanged
Tags
unchanged
Form validation
Content
changed
[...]
1. `allowEmpty`, whether the attribute value can be null or empty.
2. `pattern`, the regular expression to be matched with.
+ `required` : [CRequiredValidator], validates that the specified attribute does not have null or empty value.
1. `requiredValue`, the desired value that the attribute must have.
2. `requiredValuestrict`, whether the comparison to requiredValue is strict.
+ `safe` : [CSafeValidator], marks the associated attributes to be safe for massive assignments.
+ `type` : [CTypeValidator], verifies if the attribute is of the type specified by type. (integer, float, string, date, time, datetime)
1. `allowEmpty`, whether the attribute value can be null or empty.[...]