Welcome Guest, Not a member yet? Register   Sign In
load->module_model Question.
#1

[eluser]Unknown[/eluser]
Hey,

I noticed a 3rd party C.I application had a line of code that confused me (and triggers errors on 1.7+ version with linux/php 5+)

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

which leads to the error:

Fatal error: Call to undefined method CI_Loader::module_model()

I have no modules at all and my question is - how would I go about developing one? I can't find the reference to such a thing in the docs and wasn't able to grasp the concept through the forum search.

Thanks.

PS. The 3rd party script doesn't include anything but C.I files so I figured this method was once native to C.I in the past?




Theme © iAndrew 2016 - Forum software by © MyBB