I am building an API in Yii 1.x which will be used with a mobile application. Part of the process involves a l
How can I convert this sql into active record query SELECT * FROM `base_twitter` WHERE id NOT IN (SELECT base
I have been looking into Ember.js, and it looks really great, but one thing that concerns me, and that I can&a
I'm a little bit confused about the purpose of components and extensions folders in protected/ Please cl
I find Yii great framework, and the example website created with yiic shell is a good point to start... howeve
What is the difference between homeUrl and baseUrl in Yii framework?
In Yii, is there a way to render a single action using a different layout than that defined for the controller
I am trying to build a multi-page form with Yii, but am quite new to PHP and Yii and am wondering what the bes
I have a table which has a field `activated_at` timestamp NULL DEFAULT NULL, which means that it can contain a
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 am trying to setup a button with a link to a view. However yii\bootstrap\Button does not have a property url
Please can someone explain how the search method in a Yii2 SearchModel works? I generated it using Gii. Here i
I want create this query with yii2 search model select * from t1 where (title = 'keyword' or conte
<?php $form = ActiveForm::begin(['id' => 'contact-form']); ?> <?= $for
I'm developing Web app in Yii framework. I need use AJAX in my some pages. So, when I clicked the button
I am a CakePhp programmer. I have decided to try out the Yii framework. I would like to find out in what ways