Welcome Guest, Not a member yet? Register   Sign In
How to setup your codeigniter projects

(03-02-2019, 11:42 AM)InsiteFX Wrote: No I'am not using HMVC, The Base controller will hold all the methods that are needed
in the Frontend and Backend controllers. The Backend controller if for Admin methods etc;
The Frontend is for the public methods for the users etc;

Once you get these setup and working the way you want you just leave them alone.

If you want you can just combine all the classes into just a ./application/core/MY_Controller.php

So, you created three controllers: base, backend and frontend, right? But you said

Quote:Now all you would need to do is extend all your application controllers from either the

Frontend or Backend controllers depending on what you need.

Sorry if I didn't understand, but why do you need the Base controller then? So, for example how do you dedice each methods go into Base and each ones go into Backend controller?

Messages In This Thread
RE: How to setup your codeigniter projects - by castle - 03-04-2019, 12:14 AM

Theme © iAndrew 2016 - Forum software by © MyBB