cakephp get present name
$controllerName = $this->request->getParam('controller'); // Prior to 3.4.0 $controllerName = $this->request->param('controller');
Source: book.cakephp.org
$controllerName = $this->request->getParam('controller'); // Prior to 3.4.0 $controllerName = $this->request->param('controller');