http://blog.sina.com.cn/s/blog_685213e70101mo4i.html 文档: http://www.yiiframework.com/doc/api/1.1/CActiveForm All these validations share the same set of validation rules declared in the associated model class. CActiveForm is designed in such a way th…