No thats incorrect. If its a global function that is used everywhere,
it goes in the bootstrap.

On Dec 10, 6:05 am, Giedrius Rekasius <[email protected]>
wrote:
> 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 [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

Reply via email to