That's not a good idea, because since your models are related they are
already loaded.
Actually, using $uses is rearely a good idea.
The only time you might consider it, is when you need an absolutely
unrelated model...
Even still... within your action you can load the model just when you
need it...
$MyModel = ClassRegistry::init('MyModel');
or even:
$someData = ClassRegistry::init('MyModel')->getMeData();
On Jan 16, 12:55 pm, Nancy <[email protected]> wrote:
> Thanks for you help, it has gotten me closer.
>
> Another thing I figured out is I needed to use the $uses array, which
> I didn't have.
>
> var $uses = array('User','Recipe','Mastercat');
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---