Hello All,

I have one query, i need some data repeatedly in my most of the
controllers.
So is there any solution for creating a common function for that data
& then i can use it in my most of the controllers.

It is link i need users data in my all pages for display.
So i am creating a common function in the app_controller.php & calling
it in the required controller actions.

But for this i have to use $uses in the app_controller, it executes
the select * for all the $uses models every time.

So is there any better way to follow.

Thanks in advance..........
--~--~---------~--~----~------------~-------~--~----~
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