Welcome Guest, Not a member yet? Register   Sign In
how to properly structure controllers in HMVC
#5

Controllers may be loaded from application/controllers sub-directories.

Controllers may also be loaded from module/controllers sub-directories.

--> Resources may be cross loaded between modules. ie: $this->load->model('module/model');

Modules::run() is designed for returning view partials, and it will return buffered output (a view) from a controller. The syntax for using modules::run is a URI style segmented string and unlimited variables.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: how to properly structure controllers in HMVC - by InsiteFX - 07-06-2016, 03:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB