Welcome Guest, Not a member yet? Register   Sign In
Run standard controller manually
#1

how i can run or execute standard controller?

i mean when user type "site/controller/method/params", CI triggers maincontroller/mainrouter and pass "controller" and "method" and "params" to it so i could to do something before or after executing that controller.

with HMVC i can do this for sub_controllers in modules folder using modules::run, but for main controllers in application/controllers, how i can do that?


i need this feature Sad Sad
ressan.ir
CI is nice Heart
Reply


Messages In This Thread
Run standard controller manually - by nasser.man - 06-13-2015, 02:33 AM
RE: Run standard controller manually - by gadelat - 06-13-2015, 03:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB