call component logic from controllers and pass it to views.

On Jul 29, 4:38 am, Shadab Shaikh <[email protected]> wrote:
> Can you please give me more thoughts on my first question
>
> 1)Can i call components methods from helpers? Is it possible/
> feasible ?
>
> Thanks!
> Shadab
>
> On Wed, Jul 29, 2009 at 1:07 PM, Miles J <[email protected]> wrote:
>
> > Well what exactly do you need to do? Why cant you just place the
> > component method in a helper?
>
> > Use ClassRegistry::init() to call models within helpers.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to