De handleiding»Ontwikkelen met CakePHP»Controllers»Controller attributen»The Parameters Attribute ($params)»controller
3.5.2.4.5 controller
$this->params['controller']
Stores the name of the current controller handling the request. For example, if the URL /posts/view/1 was requested, $this->params['controller'] would equal "posts".
See comments for this section
