Reference: Model rules validation

Comparing #9 with #10

Revision #10 was created by Maurizio Domba Cerin Maurizio Domba Cerin on Dec 6, 2010, 9:58:54 AM.

small but significant typo error: errors=>error

Content

[...]
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.

+ `exist
s` : [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.
[...]