Welcome Guest, Not a member yet? Register   Sign In
Modular Seperation Library Question/Confusion
#2

[eluser]danmontgomery[/eluser]
[quote author="Mischievous" date="1271897357"]When loading models in sub modules or base models you can't do it on a load of model you have to call it in the function? Anybody have a fix for this?[/quote]

I must say that I don't understand your question at all, but models from another module are loaded as following:

Code:
$this->load->model('module_name/model_name');

Models in ./application/models are loaded normally:

Code:
$this->load->model('model_name');

It looks like you've made some changes to MY_Loader.php? The call to _assign_libraries() isn't on line 197 in either 1.12 (for CI 1.7.x, line 203) or 2.01 (for CI 2.0, line 205)...


Messages In This Thread
Modular Seperation Library Question/Confusion - by El Forum - 04-21-2010, 01:49 PM
Modular Seperation Library Question/Confusion - by El Forum - 04-21-2010, 02:17 PM
Modular Seperation Library Question/Confusion - by El Forum - 04-21-2010, 02:28 PM
Modular Seperation Library Question/Confusion - by El Forum - 04-21-2010, 04:20 PM
Modular Seperation Library Question/Confusion - by El Forum - 04-23-2010, 11:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB