What are different ways to access the parameters in CakePHP?

Member

by norbert , in category: Technology , a year ago

What are different ways to access the parameters in CakePHP?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by julio.mcglynn , a year ago

Following ways:

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