I'm using CodeIgniter HMVC. I have an educational web application for different clients.
I need a customized controllers for every client. We need to provide different views and functionalities for different clients but only the condition is that, call the same url.
For example, I'm using modules,In my controller name is Test.php. In that controller have a function name view():
function view(){
$this->load->view('view', $this->data);
} //The thing is that,each client need different views (view.php)
I want the same URL for all clients (http://test.com/test/view).
I have an idea, set a default controller(or a customized controller) and the actual controller. First click on the link, check if the function exist in the default controller then execute the same otherwise will go to the actual controller function.
Is this possible?