Welcome Guest, Not a member yet? Register   Sign In
CI 2.0 Model Question
#1

[eluser]Mischievous[/eluser]
I'm attempting to get modular seperation working again since the latest updates to the bitbucket project.

You removed all function from the model class and added the __get($key) function... but not sure what i need to do for

function:
Code:
public function _ci_assign_to_models()
    {
        foreach ($this->_ci_models as $model)
        {
            self::$APP->$model->_assign_libraries();
        }
    }

in MY_Loader.php for modular seperation? get rid of it? as its not need anymore? idk? thoughts would be appreciated!

Smile
#2

[eluser]Mischievous[/eluser]
Ok, was able to fix it by simply removing the call to $this->_ci_assign_to_model(); as the new CI2.0 already handles this I believe. Will post updates if anything funky happens. But so far, everything is looking good.




Theme © iAndrew 2016 - Forum software by © MyBB