Answers for "cakephp get present name"

PHP
0

cakephp get present name

$controllerName = $this->request->getParam('controller');

// Prior to 3.4.0
$controllerName = $this->request->param('controller');
Posted by: Guest on December-24-2021

Browse Popular Code Answers by Language