> Also, regarding using $uses. There is no model for the controller,
> therefore "$uses=null". I'm of the understanding that if I add even
> one model to the $uses list, I must add all, including the
> controller's model, which there isn't one. That is the reason for
> keeping uses as null, and App::Import to bring in an external model.
There are no rules that says a Controller must have a Model of the
same name, or rules that says a Controller has to have models either.
var $uses=array('Category');
That line saves you time, because you don't have to do what your
doing.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---