Articles Posted in the " Yii Validation " Category


  • Scenarios validation In Yii 1.0

    Scenarios validation is the one of the useful future in yii framwork and seperating the validation on any class derived from CModel. For example user registeration and updation will have different validation



  • Username Validation In Yii Model

    Username Validation In Yii Model

    From my sourcecode, I gave the information for username validation in yii framework. <?php class User extends CActiveRecord { public static function model($className=__CLASS__) { return parent::model($className); } public function tableName() { return 'tbl_user'; } […]


  • Email Validation  In Yii Model

    Email Validation In Yii Model

    From my sourcecode, I gave the information for email validation in yii framework. <?php class User extends CActiveRecord { public static function model($className=__CLASS__) { return parent::model($className); } public function tableName() { return 'tbl_user'; } […]


  • Password Validation In Yii Model

    Password Validation In Yii Model

    From my sourcecode, I gave the information for password validation in yii framework. I used password and confirm password validation. <?php class User extends CActiveRecord { public static function model($className=__CLASS__) { return parent::model($className); } […]