Hi, I'm relatively new to CakePHP and I was wondering if someone could give me some advice on where to put "common" snippets of code. For example, I have a simple function that determines the file extension of a given file. I want to be able to access this function from a model, component or view. Where would I put these types of "utility" functions so that it will be available throughout every part of the application?
I'd appreciate any help. Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
