I need to do a website that controls n games. Let's suppose i create a model called GAME, and then add the method "register" to it.
If i have n games that requires different views and different validations, and a different approach for registration. So i would like to create models that extends the GAME model. How can I do it in cakephp? I should do: 1) class Game extends AppModel 2) class XYZ extends Game and then in the controller? i can do: $game = new XYZ(); $game->register( $data ) ??? Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
