i created a php file with all the functions needed and then i loaded it in my bootstrap.php using php's include()
it's working ok now On 10 Dic, 15:38, Fran Iglesias <[email protected]> wrote: > Hi, > > El 10/12/2009, a las 14:32, Ernesto escribió: > > > it's very uncomfortable to copy them in a helper and in a component @ > > every little mod. > > is there any clever way to manage these funcs? > > You could load them in the APP/config/bootstrap.php > > Another solution is to create a class with several methods, load it > during bootstrap and use as singleton, something similar to the > inflector class. > --- > Fran Iglesias <[email protected]>http://cakephpilia.blogspot.com Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
