What are different ways to access the parameters in CakePHP?

Member

by norbert , in category: Technology , 3 months ago

What are different ways to access the parameters in CakePHP?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by julio.mcglynn , 3 months ago

Following ways:

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