Re: global functions
On Thu, 2009-12-10 at 05:32 -0800, Ernesto wrote:
> Hello.
>
> i have some simple functions such as
>
> array_depth
> array_width
> array_integrate
>
> and so on
>
> that are used in both Controllers and Views.
>
> it's very uncomfortable to copy them in a helper and in a component @
> every little mod.
Put them in app/app_controller.php
--
Regards,
Giedrius Rekasius
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 cake-php@googlegroups.com
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?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home