10, 'tooShort'=>'Too short message.', 'allowEmpty'=>false, 'on'=>'CStringValidatorTest'), array('string2', 'length', 'max'=>10, 'tooLong'=>'Too long message.', 'allowEmpty'=>false, 'on'=>'CStringValidatorTest'), array('string3', 'length', 'is'=>10, 'message'=>'Error message.', 'allowEmpty'=>false, 'on'=>'CStringValidatorTest'), array('email', 'email', 'allowEmpty'=>false, 'on'=>'CEmailValidatorTest'), array('url', 'url', 'allowEmpty'=>false, 'on'=>'CUrlValidatorTest'), ); } }