How to create a back link using the Yii Framework

No Comments

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

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

Image Credits: Photo by Isis França on Unsplash.

Related Articles

No results found

Leave a Reply

avatar
  Subscribe  
Notify of
Menu
Copy link