I'm having some troubles with PHP while working with Controllers.
If i want to create and then use 2 controllers,when using this syntax
it doesn't work:
$this->Controller1->Controller2->find("all"...)
Instead this works:
$this->Controller1->find("all"...)
I was thinking that maybe i need to initialise first the Controller2
in this way:
var $users="Controller2"
and then maybe the first syntax may work,but i'm not sure.Any advice?
Thank you in advance for your help =)
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en