Yii Reference 1 – Create Url, Links and Redirections
This post will be a reference on how deal with urls, links and browser redirects in Yii Framework. It will guide you on how to use different built-in functions in Yii like createUrl(), createAbsoluteUrl(), CHtml::link(), redirect().
Create URL
$url = Yii::app()->createUrl('site/index');
ariston kombi 8:39 pm on October 2, 2011 Permalink |
Cool article. It’s about time to find interesting content for a change.