Welcome Guest, Not a member yet? Register   Sign In
inherits / extends few Controllers
#1

Hello,

I want to create few mother class for controllers.

I create the file core/Base.php and :

controllers/Test.php

Code:
class Test extends Base

But I have "Class 'Base' not found.

Idem when I move the Base.php in controllers or when I prefix with MY_

Can I only have one mother class named 'MY_Controller', not more ?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB