I guess it depends on what kind of data it is going to be. Logic specific to an action - in the action of the controller
Logic specific to a model - in one of the callback methods of the model controller - e.g. beforeRender, beforeFilter, etc Logic that you need to include on every view - in one of the callback methods of the app_controller.php file If any of this doesn't make sense let me know and I'll point you in the right direction i.e. some additional reading. cheers, mikee On 13/11/06, devarz <[EMAIL PROTECTED]> wrote: > > That makes a lot of sense, the only problem is that I don't know where > to put the *code* responsible for gathering the data that goes in the > header. Where can I place code, so that it gets executed in all > controllers (or a subset) in my app? > > Thanks for your reply! > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---