Found the solution (thanks Mark Story)
You need to set the $controller->plugin parameter to let the
controller know that it lives in a plugin.
App::import('Model', 'Plugin.Model') does the trick beacause it
registers the right class, so the controller ifself doen't need to
import again.
El 05/07/2009, a las 23:24, Fran Iglesias escribió:
> Reading the Core test case for Classregistry doesn't clarify the
> question for me. I need to study how to prove this issue in a more
> general fashion.
---
Fran Iglesias <[email protected]>
http://cakephpilia.blogspot.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---