Wednesday, January 28, 2009

Re: What is the advised way to call a function from another controller?

> you can wrap them, again within the model class, with one function
> that calls all.
>
Thinking about this, it might be more correct to code the wrapper
method in the controller where the return result can be better
tailored to the function of that controller.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: