Demos
·
Guide
·
Class Reference
·
Wiki
·
Extensions
·
Forum
·
Live Chat
·
Login
About
About Yii
Features
Performance
License
Contact Us
Downloads
Framework
Extensions
Demos
Logo
Documentation
Take the Tour
Tutorials
Class Reference
Wiki
Screencasts
Resources
Development
Contribute to Yii
Latest Updates
Report a Bug
Report a Security Issue
Community
Forum
Live Chat
News
Hall of Fame
Badges
search
Documentation
Take the Tour
Tutorials
Class Reference
Wiki
Screencasts
Resources
Revision History of
Reference: Model rules validation
Revision
Author
Time
#27 - fix bad code example (a method with no side effect should be static)
François Gannaz
2013/02/19 03:19am
#26 - Add another sample for filter method
CedSha
2013/02/19 01:29am
#25 - Add filter validation samples
CedSha
2013/02/04 12:27am
#21 - Removed a paragraph that was repeating too much & improved scenario example
François Gannaz
2012/04/14 06:53pm
#16 - Length validation rules 6 and 7 were wrong, corrected. (tooLong = too long, not too short, same for tooShort)
vihiz
2011/11/16 09:35am
#15 - Add chinese version url
Darwin Wen
2011/10/21 02:58am
#14 - added date example for 1.1.7
huanito
2011/05/04 02:26pm
#13 - Annotated the date validator with the 1.1.7 requirement; put it in the proper alphabetical place
Steve Friedl
2011/03/30 11:57am
#12 - Added info about date validator
samdark
2011/03/13 10:38am
#11 - Added encoding to length
samdark
2011/01/18 04:56pm
#10 - small but significant typo error: errors=>error
Maurizio Domba
2010/12/06 04:58am
#9 - Cleaned up the example for CTypeValidator; gave link to example for CUniqueValidator
Steve Friedl
2010/11/28 01:25pm
#8 - Added time rule example (CTypeValidator)
GoorooTech
2010/11/20 10:23pm
#7 - Spelling issues
mpcabd
2010/11/12 04:48pm
#5 - fixed typo error
Maurizio Domba
2010/10/27 06:42am
#4 - formatting, tags
wei
2010/10/25 11:31pm
#3 - Added the built in validators references
krillzip
2009/11/29 09:41am
#2 - Added the "Validation rules reference" section, (temporarly saving)
krillzip
2009/11/29 08:46am
#1 - initial version
krillzip
2009/11/28 07:12pm
Write new article
Search Wiki
View current article
Update this article
View history
View revision
Written by
:
krillzip
Updated by
:
François Gannaz
Category
:
How-tos
Votes
:
+88
Viewed
: 267,542 times
Created on
: Nov 28, 2009
Last updated
: Feb 19, 2013
Tags
:
Form validation
,
model
,
validation
,
reference
,
validation rules
,
validator
Related Articles
model rules depended by user roles-permissions
Understanding "Safe" Validation Rules
Managing constants easily
Update two models with one view
Application-driven database with CDbMigration and an extended CActiveRecord