Yii::app()->request->getUrl() method is used to get current url in Yii framework. ...