if (!class_exists('ParentController')) {
App::import('Controller', 'ParentController');
}
class ChildController extends ParentController {
// Imeplement controller as normal
}
Cheers,
Graham Weldon
e. graham@grahamweldon.com
p. +61 407 017 293
w. http://grahamweldon.com
On 27/07/2009, at 8:22 PM, Michael Gaiser wrote:
> I want to have my UserAdmin controller inherit from my User
> controller instead of AppController. but it cannot seem to find it.
> Is there a special way to do this in cake or can I just use and
> include statment? Thanks.
>
> ~MJG
>
> >
--~--~---------~--~----~------------~-------~--~----~
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:
Post a Comment