Top "Yii-components" questions

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

How to read excel file and display data in Yii 2?

I have tried to use PHPExcel library to read the excel file and display data from the file. But it …

php phpexcel yii2 yii-extensions yii-components
How to change $model->attributes value in controller - Yii

UserMasterController Code: public function actionUpdate($id){ $model=$this->loadModel($id); if(isset($_POST['UserMaster'])){ $model->attributes=$_POST['UserMaster']; $…

controller yii yii-components
Yii2 Custom url management. Getting 400 error

Well, PHP times. My client wants me to use Yii2 as the framework for his project. I got it up …

php apache .htaccess yii-components yii2
Disable sorting in header column of Yii CGridView

Yii provides sorting functionality for listing. How can I disable sorting so that my records will not get sorted when …

php yii yii-extensions yii-components yii-events
Yii passing parameters to widget

Sorry if I am using wrong keyword. Might be I did not get sufficient information due to wrong keyword. we …

yii yii-components
Using $this when not in object context in Yii

Iam getting an error like Fatal error: Using $this when not in object context in ..\controllers\ServiceRequestController.php on line 661 …

php yii yii-extensions yii-components yii-events
Run single migration (not newest) in Yii

I have few migrations files.How can I run single migration down or up, if this migration isn't the newest, …

yii yii-components
Dynamic Multilevel Drop-down menu in Yii2

I want to create a dynamic menu with my table (db). I have followed some instructions which are given below: …

yii2 yii-extensions yii-components
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
How to create a confirm dialog box before submit in Yii framework

I'm new to Yii framework, I need to create a confirm dialog to pop up before I submit a form. …

php yii yii-components