Where is one supposed to put generally applicable functions that
should be available throughout the application, or better still;
across several applications?
What I would prefer is to have a class, or several classes, containing
static functions, like:
<?php
class StringFunctions
{
public static function checkString($string)
{
//return something
}
}
?>
and be able to call such functions from all controllers, models, views
etc...
Or is there a more cakeish way to do this?
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---