Hi Everyone, Quick question:
I need to get something in the view (all views) for which I have a function defined in the app_controller. So, what I want to know is what is more efficient? 1. Calling $this->controller->myFun() from the view (of course it beats the MVC model) 2. Using define() and setting it as a constant through app_controller ? I read that define() is an expensive call. I am not killing my self over over-optimization but thought it would be nice to know if define() is an expensive call. Thanks, Mandy 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
