Top "Yii-components" questions

Yii is an open source, object-oriented, component-based MVC PHP web application framework.

Yii add filter to a virtual attribute in CGridView and make it sortable

I have the following Models : User with columns {id,user_name,password,user_type} Admin with columns {id,user_id,…

php yii yii-components
Yii2 REST+ Angular Cross Domain CORS

I have developed Angular & Yii2 REST service. Have problem in cross domain. Here below add my angular & Yii2 …

angularjs rest yii2 yii2-advanced-app yii-components
CHtml::listData with a complex $textField

I'd like to use a couple of attributes from within a model as textField. Something like this: $form->dropDownList( $…

php yii yii-components
How do I pass a global variable in Main layout page before $content in Yii2

I am trying to create dynamic menu in yii2 using "Nav::widget". Here is my code in menu section in …

yii-extensions yii yii-components yii2
Yii's magic method for controlling all actions under a controller

Commando need's help from you. I have a controller in Yii: class PageController extends Controller { public function actionSOMETHING_MAGIC($pagename) { // …

php yii yii-components magic-methods
Yii user authentication and session not working

I am building a website in Yii and I am stuck at the user authentication step. Whatever i do I …

php yii yii-components