Model: MainCategory Controller: MainCategoriesController views dir: main_categories
But I wonder why you've got such a model. Why not just Category with a null parent_id? On Apr 2, 7:13 am, Ambika Kulkarni <[email protected]> wrote: > Hi, > > I have table called main_categories. Now how to declare the model > name, controller name and views folder > > Thanks in advance Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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 To unsubscribe, reply using "remove me" as the subject.
