Does someone have an example of 1 controller calling another?

I have a controller that gets meta data keys from a database, this is a
utility funciton that is used by other controllers, I'm was under the
assumption that the $uses variable is just for including additional
models in your controller, but say I have

MetaDataController

getAllMetaData();  /// does not get from database, its "man" made...


and I have

AssetWebserviceController

and it needs to use the getAllMetaData action to get some data before
it can produce the xml for the webservice, what is the approved way of
doing that in cake?

Grant


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" 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