Hello Miles, Thanks for your reply.Off course, I will letting you know why I wanted use component. By calling model in view we are totally break MVC architecture and eliminating role of controller.
But calling model method via component in helpers, we are adding some extent of MVC, we are adding component to talk with helpers and views. Another benefit is that, the created functions in component will also available in all controllers . So I wanted to call component from helper.In component i will load model function. I hope that above narration make sense to you. If you still confusion than please let me know. Looking forward for your reply. Thanks in Advance, Shadab Shaikh On Wed, Jul 29, 2009 at 3:01 PM, Miles J <[email protected]> wrote: > > Its possible, but may I know why or what for? And why couldnt you just > duplicate the components method into a helper. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
