Welcome Guest, Not a member yet? Register   Sign In
What Are Modules? How To Use Them?
#1

[eluser]Unknown[/eluser]
Hello. I saw this line of code in a 3rd party piece of software:

$this->load->module_model(‘auth’,‘user_model’);

I realize it did not come with the rest of the code necessary to load such a module. My question is, how are they used? What is the point on one? I could not find any hint of it in the documentation. Is this a deprecated method? C.I, as it is, makes sense to me and is easy to use. I just don't know anything about the method listed above.

Thanks for your time.

PS. I posted this in the 'code ignited' forum realizing it probably belonged here, instead. I hope that is okay.
#2

[eluser]WanWizard[/eluser]
That looks like Matchbox, which is a third party add-on to add modularity to CI. But it hasn't been developed for quite some time, and my guess is it's not going to work with CI 2.x.

There are two alternatives that are actively developed, Modular Extensions HMVC and Modular CI. You'll find both in the wiki.




Theme © iAndrew 2016 - Forum software by © MyBB