using functions in elements

2006-08-25 Thread cyberlogi
I have a recursive function that i'd like to use to optimize printing data from a multidimensional array. If i put the function in my view or element, then cake tells me that the function doesn't exist. Where should i put this function? --~--~-~--~~~---~--~~ You

Re: using functions in elements

2006-08-25 Thread Samuel DeVore
sounds like a job for a helper http://manual.cakephp.org/chapter/helpers (look at the bottom for info about creating your own) On 8/25/06, cyberlogi [EMAIL PROTECTED] wrote: I have a recursive function that i'd like to use to optimize printing data from a multidimensional array. If i put the