i need Url part after index.php?r=
is there any function to get request Url part after index.php?r= like Yii::app()->request->getUrl()
i need Url part after index.php?r=
is there any function to get request Url part after index.php?r= like Yii::app()->request->getUrl()
Why dont you use regex this will help you whatever you want to achieve
If you want get name Controller and name Action.
You can use:
$this->id
or
Yii::app()->controller->id
name Controller
and
$this->action->id
or
Yii::app()->controller->action->id
name Action
Dear Friend
I hope the following would be helpful.
substr(Yii::app()->request->getQueryString(),2);
Thank u