![]() |
inherits / extends few Controllers - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Model-View-Controller (https://forum.codeigniter.com/forumdisplay.php?fid=10) +--- Thread: inherits / extends few Controllers (/showthread.php?tid=77892) |
inherits / extends few Controllers - nico - 11-01-2020 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 ? |