in /app/Controller/ instead of /app/ in 1.x so maybe your AppModel.php
has to go into /app/Model/ instead of /app/. Just a guess.
On Sep 7, 6:43 pm, luca capra <luca.ca...@gmail.com> wrote:
> Hi all,
> I'm migrating an application from 1.3.6 to cakephp 2.0-rc1.
> Everithing is working well, great work!
>
> I'm tryng to get back some generic methods with no success:
>
> /MyAppModel.php/
> App::uses('Model', 'Model');
> class MyAppModel extends Model {}
>
> /AppModel.php/
> App::uses('Model', 'MyAppModel');
> class AppModel extends MyAppModel {}
>
> How should it be done?
>
> Thanks in advance
> Luca
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
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
No comments:
Post a Comment