El 05/07/2009, a las 22:29, Miles J escribió:
> Well the correct and only way is calling the type:
> App::import('Model', 'ModelName');
Yes. Mine was a typo. I'm sorry.
> But its best to just use loadModel() in the controller.
My problem with Classregistry is happening when I'm testing plugins.
http://bin.cakephp.org/view/410144964
---
Fran Iglesias <cakephpilia@gmail.com>
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 cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment