Is it possible to use a plugin's model in your main app? For example,
if I'm using the Pizza plugin example from
http://manual.cakephp.org/chapter/plugins, how would I use the
PizzaOrders model in one of my main app controllers? I've tried both
of the following:
var $uses = array('PizzaOrders');
and
$p = new PizzaOrder();
but neither approach works: my main app doesn't seem to have access to
the plugin's models. Does anyone know how to do this?
I realize you can call plugin controller actions using
$this->requestAction('/plugin/controller/action') from the main app but
I'd rather have access to the plugin model directly.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---