[eluser]Unknown[/eluser]
Thanks guys, i have got HMVC going. Im still have some learning to do, but i was wondering how i would use HMVC + ci so that ALL requests go through the dispatcher triad and then call the requested triad?
eg:
function dispatcher($request,$action)
// do some global app validation here
switch (request) {
case 'admin':
$func = $action; // any function within the admin controller
// how to call $func in the admin controller (triad)
}
}
}