Is there a way to immediately get the internal path as a string of type controller/action .
I know what can be done like this:
$internalRoute = Yii::$app->controller->id . '/' . Yii::$app->controller->action->id Or so, if in view :
$internalRoute = $this->context->id . '/' . $this->context->action->id But something tells me that you can immediately get the string controller/action ?
Yii::app()->urlManager->parseUrl(Yii::app()->request)- koks_rsdefine()) a constant. - Roman Grinyov