Are you sure that you need it both in controller and model? If it is data-related function, you can place it into AppModel.
On Sep 18, 7:42 pm, Henrik Gemal <[email protected]> wrote: > I have a function need to call both from the controller and from two > models. > > How do I share that function between both the controller and the > models? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
