$uses is a class attribute. Put that at the top of the Controller class definition:
class MainCategoriesController extends AppController { var $uses = array('MainCategory', 'SubCategory'); On Fri, Mar 20, 2009 at 12:18 PM, Constantin Botnari <write...@gmail.com> wrote: > > Miles please give us more details about how to use this $uses = array > ('MainCategory', 'SubCategory') in controller > > > > --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---