Re: Where to save utility routines
Thank you - that answers my question perfectly. At the moment I only need to use it in views so a Helper routine addresses the need but thanks for the tip if I need to use it elsewhere.
Cheers
Gj
On Wednesday, 21 March 2012 19:01:20 UTC, Graham wrote:
-- On Wednesday, 21 March 2012 19:01:20 UTC, Graham wrote:
Dear all, still new to CakePHP but learning all the time.I have a small PHP utility routine for formatting text that I want to be able to call from my views. Where should I save it so that it is available to all views?Thanks for your thoughts.Graham
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home