Class BaseGamesController extends AppController
Class GameOneController extends BaseGamesController
Class GameTwoController extends BaseGamesController

Inheritance is one way to share common functionality among many
controllers.
The cake way, however, is through components.

So, you would put your common game functionality in a GamesComponent.
Then your game-specific controllers (if that is what you are trying to
do) would use GamesComponent.

On Aug 4, 1:16 pm, Zippoxer <[email protected]> wrote:
> How can I create another controller called "GameController" and put it
> to be global?
> (so all another controllers can extend this)

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

Reply via email to