Top "Yii" questions

Use for questions about any version of Yii, an open-source MVC framework for writing web 2.0 applications in PHP5+

Yii automatic db migrations

I have setup my first db migration using the built in migration tools of yii, and locally i can run ./…

php database-migration yii
jQuery(...).yiiGridView is not a function

I have a problem with Yii grid view. for some reason it does not seem to load correctly, even though …

javascript jquery yii cgridview
adding both equal and not equal conditions in Yii

$id = Yii::app()->user->getState("logId"); $name = Yii::app()->user->getState("username"); $dataProvider=Disnotification::…

php activerecord yii equals-operator
Yii how to redirect to absolute URL with json response

My Controler function actionLogin() { //After success validation $url = $_POST['returnUrl']; // www.example.com/get_response/ $arr = array('response' => 'Failed', …

php yii yii-extensions
What is the difference between component, extension & module in Yii

I am new to Yii framework, and just came across module, extension & component inside protected folder. Can anyone please …

yii yii-extensions yii-components
Using transaction in a loop in Yii

I have an array of active records and want to change some field of them with a loop in this …

php yii transactions yii1.x
applying a default scope with reference to a relation in yii

I can't find too much documentation on applying a default scope to a model in yii, I was wondering if …

yii relation scopes default-scope
how to add downloaded extension to yii 1.11?

can any one tell me how to add extension to my yii? i googled and downloaded Bootstrap 0.9.8 extension and followed …

yii yii-extensions
how to format a column as currency in GridView(yii)?

Hello everyone and thanks for reading . I was wondering how i could format a number into a currency or just …

yii yii-extensions
Check if a file exists in Yii

I am creating a bunch of modules that all extend a base module. However, some actions need to override the …

php yii file-exists