In View(CakePHP), the proper way to get current controller?
cakephp-2.0
Solution
Use `$this->params['controller']` to get the current controller.
You can do a `debug($this->params)` to see other available variables.
Problem
In View, I can get action by using ``` $this->action ``` But, I cannot get controller name by ``` $this->controller ``` What is the proper way to get current controller in View?