How to create a back link using the Yii Framework

5 sec read

In the view that you wish to use add the following code for the back link.

CHtml::link('Back',Yii::app()->request->urlReferrer);

Last Updated On March 22, 2018

Leave a Reply

avatar
  Subscribe  
Notify of