Thanks Chris, I'll answer you in other thread.

On 1 4 ,   6 00 , "Chris Hartjes" <[EMAIL PROTECTED]>
wrote:
On 1/3/07, skyblueink <[EMAIL PROTECTED]> wrote:



> Yes, surely it will give the output I wanted. Thank you for your work,
> but what if I have to call myfunction one thousand times?

>    $this->set('fruits', $this->Test->myfunction(1));
>    $this->set('animals', $this->Test->myfunction(2));
>     .....
>    $this->set('colors', $this->Test->myfunction(1000));

> I have no choice but to call $this->set() one thousand times in
> Controller, and write foreach statement one thousand times in View.Might I 
humbly suggest that perhaps the structure of your application
may need to change. I'm trying to understand what it is you are trying
to accomplish here and would like some more info.

--
Chris Hartjes

"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf

@TheBallpark -http://www.littlehart.net/attheballpark
@TheKeyboard -http://www.littlehart.net/atthekeyboard


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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