Friday, April 2, 2010

Re: Table naming convention

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 <ambikakulkarn...@gmail.com> 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com 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.

No comments: