I think you could also use behaviors - put all the common functions
into the behavior and then set each of the model classes to
"behave". :)

See more http://book.cakephp.org/view/88/Behaviors

On Jun 21, 11:47 pm, Miles J <mileswjohn...@gmail.com> wrote:
> I thought of an idea if I use multiple tables. I can create my base
> model class of Comment. And then I can have the other tables extend
> that class to inherit their functions and that should work.
>
> class CommentsArticle extends Comment {}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to