startup(), initialize() and any callbacks, are NOT triggered when using App::import(). App import simply requires() the file.
On Jul 31, 1:44 pm, "euromark (munich)" <[email protected]> wrote: > actually there might be some occasions where you would need to do that > - and where you could even call it appropriate > > but with core components, this is usually NEVER the case > > if you have a component that is totally isolated and does not need any > startup() or controller related stuff, this works well > but as soon as this happens (with most of the core components, which > need again some other components or controller access) this gets > really ugly > > in this case prepare everything inside the controller action and pass > it along! > > On 31 Jul., 22:16, Miles J <[email protected]> wrote: > > > You are still not understanding what im saying. Either way, its bad > > practice to put component code in helpers, if you are then it means > > your doing it wrong. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
