I have a validation rules in my model: public function rules() { return array(){ array(\'order\', \'required\'),
I have been playing with Yii for a couple of months now, and to structure the code the Yii way, I was wondering how to best have models being lists of other models.
开发者_StackOverflow社区I have form in YII and it needs to change model rules dynamically. Is it possible?Have you looked for Yii\'s validation scenarios?
How to create a multi-model form in Yii? I searched the entire documentation of Yii, but got no开发者_JAVA百科 interesting results. Can some one give me some direction or thoughts about that? Any help
My Table structure for user and his adress detail is as follows CREATE TABLE tbl_users ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
Please don\'t punch me in the face! I know this flies in the face of good design, but I\'m simply writing a test page to demonstrate something. Our webapp module (correctly) has no direct access to ou