On Mar 10, 9:09 pm, wolf net <[email protected]> wrote:
> Controller: $this->set('controller', $this);
> view: $controller->action();
IMHO that's a bad idea on many levels.
What I meant was something like: $this->set('testResults', $this-
>CustomComponent->getTest());
Then in the view you use $testResults.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---