Monday, July 5, 2010

Inheritance of custom class

Im really new to cakePHP. Im also not a OOP guru.

I have run into something that im not sure how to handle:

I want multiple model classes that extend a main class. Yet the
controllers that are created for each of these models throws an error
message that the table named after the controller class does not
exist. How do I handle this error? I am only going to use 1 catalogue
table for the main class and depending on which child class extended
the main class retrieve different info out of the common table.

Is my logic correct when it comes to inheritance in CakePHP?
How should I handle this error?

Thanks.

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

No comments: