Difference between #9 and #10 of
Reference: Model rules validation

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.

+ `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.
[...]
97 0
117 followers
Viewed: 767 331 times
Version: 1.1
Category: How-tos
Written by: krillzip
Last updated by: Rodrigo
Created on: Nov 29, 2009
Last updated: 4 years ago
Update Article

Revisions

View all history