Welcome Guest, Not a member yet? Register   Sign In
can i load another model inside model ?
#1

[eluser]Mario "St.Peter" Valentino[/eluser]
hello all,

i wanna ask something about model. i have 2 model : level_model and user_model

Code:
// This is Level Model
Class Level_model extends CI_Model
{
    public function __construct()
    {
        parent::__construct();
    }

    public function level_data()
    {
        //code goes here
    }
}

// This is User Model
class USer_model extends CI_Model
{
    public function __construct()
    {
        parent::__construct()
    }

    public function user_data()
    {
       //code goes here
    }
}

i wanna make sure. can i load user model inside level model or vice versa ?
how to do it ?

please help me. Thanks



Messages In This Thread
can i load another model inside model ? - by El Forum - 07-19-2012, 07:20 PM
can i load another model inside model ? - by El Forum - 07-19-2012, 07:48 PM
can i load another model inside model ? - by El Forum - 07-19-2012, 09:57 PM
can i load another model inside model ? - by El Forum - 07-19-2012, 10:02 PM
can i load another model inside model ? - by El Forum - 07-19-2012, 10:04 PM
can i load another model inside model ? - by El Forum - 07-19-2012, 10:37 PM
can i load another model inside model ? - by El Forum - 07-20-2012, 05:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB