Home Yii Framework How to create a back link using the Yii Framework?
 
 
 

How to create a back link using the Yii Framework?

PDF Print E-mail

Question: How to create a back link using the Yii Framework?

 

Answer:

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

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

 

+/-
+/- Write comment
Your Contact Details:
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
Security Please input the anti-spam code that you can read in the image.
 

Go Daddy $7.49 .com Sale!