$controller=Yii::app()->controller; $action=$controller->action; //Getting the current action echo $action->id; //Getting the current controller $controller->uniqueID
Image Credits: Photo by Isis França on Unsplash.
$controller=Yii::app()->controller; $action=$controller->action; //Getting the current action echo $action->id; //Getting the current controller $controller->uniqueID
Image Credits: Photo by Isis França on Unsplash.