On Jun 18, 5:41 pm, "Jonathan Snook" <[EMAIL PROTECTED]> wrote:
> While I haven't tried it, maybe give this a go in your action:
>
> function myaction(){
>
> $this->helpers[] = 'Time';
>
> }
>
> (I'm not entirely sure when helpers are instantiated but that seems
> like a viable solution.Hey that works. Thanks. I'm surprised this is not documented though. BTW if anyone else knows any other ways also do tell, as this method might not work in later versions of cake. from "Chris Hartjes" > Your answer shows that you do not understand the question. It's not > about RAM, it's about performance. It's likely that it will take more > resources to talk to your database than to hold the time helper in > memory. I do not understand I did not give an answer I gave another question, the question mark indicating that. Does the RAM not effect performance? also, it does not matter if the database is slower than the loading of the helper. That does not mean I should not optimize other areas besides the database. Also I do not want the Time helper loaded into all the actions because they are not used there, and that is bad organization, and organization is what cakePHP is about, right? So why not try to be organized. Thanks, Jonah --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
