Revision #10 has been created by Maurizio Domba Cerin on Dec 6, 2010, 9:58:54 AM with the memo:
small but significant typo error: errors=>error
« previous (#9) next (#11) »
Changes
Title
unchanged
Reference: Model rules validation
Category
unchanged
Tutorials
Yii version
unchanged
Tags
unchanged
Form validation
Content
changed
[...]
3. `checkMX`, whether to check the MX record for the email address.
4. `checkPort`, whether to check port 25 for the email address.
5. `fullPattern`, the regular expression used to validate email addresses with the name part.
6. `pattern`, the regular expression used to validate the attribute value.
+ `exists` : [CExistValidator], validates that the attribute value exists in a table.
1. `allowEmpty`, whether the attribute value can be null or empty.
2. `attributeName`, the ActiveRecord class attribute name that should be used to look for the attribute value being validated.
3. `className`, the ActiveRecord class name that should be used to look for the attribute value being validated.
4. `criteria`, additional query criteria.[...]