What are different ways to access the parameters in CakePHP?

Member

norbert

by norbert, in category: Technology , 8 months ago

What are different ways to access the parameters in CakePHP?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by julio.mcglynn , 8 months ago

Following ways:

1
2
3
$this->request->controller;
$this->request['controller'];
$this->request->params['controller'];