Use for questions about any version of Yii, an open-source MVC framework for writing web 2.0 applications in PHP5+
How can I convert this sql into active record query SELECT * FROM `base_twitter` WHERE id NOT IN (SELECT base
I'm a little bit confused about the purpose of components and extensions folders in protected/ Please cl
The controller: controllers |-FooController.php |-BarController.php The views: view |-foo| | |-index.ph
In YII I could request a parameter from url and populate a form field called companyAdd_id with the following
I want create this query with yii2 search model select * from t1 where (title = 'keyword' or conte
I am a CakePhp programmer. I have decided to try out the Yii framework. I would like to find out in what ways
I am new to Yii framework, and just came across module, extension & component inside protected folder. Ca
I have a table like this: (id, name, version, text). (name, version) is unique key, how can i make a rule to v
I am trying to hide the label for a specific field in _form.php without success. I have tried couple of varia
What is the active Record way of adding IN condition to an active Query in yii 1.x you could use CDbCriteria l