In View, I can get action by using
$this->action
But, I cannot get controller name by
$this->controller
To get the current controller, Try this :$this->params['controller']
$this->params['controller']
To get the current action, Try this :$this->params['action'].
$this->params['action']