Welcome Guest, Not a member yet? Register   Sign In
Autoloading models outside of the normal model directory
#1

[eluser]A_funs[/eluser]
I am using a HMVC approach on an application, thus my models are in module directories outside the traditional model folder in CI. How can I go about autoloading these models?
#2

[eluser]A_funs[/eluser]
Ok, I figured that out, but That's still running into a problem.

I'm using both php.activerecord and HMVC, and the problem is all the static methods etc that need to be generated from the classes within php.activerecord are not loading because the models are outside the normal model forlder.

Furthermore, if I manually load those models,the ActiveRecord Class they need to derive from is also not defined in the HMVC models




Theme © iAndrew 2016 - Forum software by © MyBB