Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

How can I get current controller in yii2

Yii::$app->controller->id;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #I #current #controller
ADD COMMENT
Topic
Name
1+1 =