On Dec 6, 7:10 pm, Steveston <[EMAIL PROTECTED]> wrote:
> I need to use $params['controller'] in my app.
Why. What's wrong with $this->name?
AD
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To
Do you have a named parameter called 'controller' ? just a hint ...
On Dec 6, 7:10 pm, Steveston <[EMAIL PROTECTED]> wrote:
> I need to use $params['controller'] in my app. Everything works fine
> except for one controller. It is supposed to be 'users' but it turns
> out to be 'courses'. I did a
I need to use $params['controller'] in my app. Everything works fine
except for one controller. It is supposed to be 'users' but it turns
out to be 'courses'. I did a debug and find its call back route is:
index.php ->
Dispatch->dispatch ->
Dispatch->_invoke ->
Controller->render ->
... ...
$par