Month: April 2013

Yii Redirection from view or other place

Hi

I was trying to working to navigate away from the view but was not able to use this->redirect feature.

Therefore if you want to use this feature in any of views in Yii you can use the folloowibg command

Yii::app()->controller->redirect($url);

 

Thanks

Yii::app()->controller->redirect($url);

Advertisements