Fatal error: Class 'LocationController' not found in C:\wamp\www\theinconnu\app\controllers\locationmanager_controller.php on line 6
So for the parent controller name, do I use 'Location' or 'LocationController'?
On Mon, Jul 27, 2009 at 12:31 PM, Graham Weldon <graham@grahamweldon.com> wrote:
Try something like:
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