Yes, either AppModel as I could see.

The solution is in the cake 2.0 docs:

App::uses('MyAppModel', 'Model');

Thanks
Luca

On 08/09/2011 07:39, WyriHaximus wrote:
What I found out about the AppController.php is that it's now placed
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<[email protected]>  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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to