initialize to local variable, $variable = App::import('Controller',
array('example'));$variable->method On Wed, Sep 9, 2009 at 8:36 PM, Mukhamad Ikhsan <[email protected]>wrote: > App::import('Controller', array(...)); > > > http://book.cakephp.org/view/531/Importing-Controllers-Models-Components-Behaviors- > > > On Wed, Sep 9, 2009 at 3:50 PM, [email protected] <[email protected]>wrote: > >> >> Hi, how can I call method from another controller? >> >> I have read somthing about requestAction(...) but in help they say ... >> "It is rarely appropriate to use in a controller or model." >> >> Is there other better way?? >> >> Thanks >> Tomas >> >> >> > > > > -- Mukhamad Ikhsan +6281572181283 Y!id:ikhsan.only http://www.diodachi.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 -~----------~----~----~----~------~----~------~--~---
