Issac is right. In General: Use requestAction and Elements Use an existing Cake Helper Create a custom Helper
On Jul 21, 4:05 am, Isaac Raja <[email protected]> wrote: > Please mention what you are trying to achieve; we can find a better way to > do it. > > Isaac > > On Tue, Jul 21, 2009 at 2:49 AM, Marcelo Andrade <[email protected]>wrote: > > > > > On Mon, Jul 20, 2009 at 2:02 AM, liyakat Ali<[email protected]> wrote: > > > i need to call function from .ctp file. > > > And function is defined in App Controller. > > > is it possible. > > > As Pixelastic and Rob both said, if you have to call > > some method in your view, this method is best suited > > to be placed in a helper and not in your controller. > > > Check this out: > > >http://book.cakephp.org/view/101/Creating-Helpers > > > Best regards. > > > -- > > MARCELO DE F. ANDRADE > > Belem, PA, Amazonia, Brazil > > Linux User #221105 > > >http://mfandrade.wordpress.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
