What about making the method static?

Otherwise you can just instantiate the object, and use its methods.

On Jan 27, 8:59 am, leo <[email protected]> wrote:
> On Jan 27, 3:26 pm, RichardAtHome <[email protected]> wrote:
>
> > or you could put the function in your AppController
>
> Surely then you would either have non-generic methods relating to
> models that don't exist at that point or models included unnecessarily
> in all controllers?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to