Welcome Guest, Not a member yet? Register   Sign In
How to call module inside another module in HMVC Codeigniter ?
#1

[eluser]Mario "St.Peter" Valentino[/eluser]
hi i have 2 module level and user.


Code:
location : application/modules/level/controllers/level.php
class Level extends MX_Controller
{
    public function  __construct()
    {
         parent::__construct();
    }
  
    public function level_all_list()
    {
        //code goes here
    }
}

location : application/modules/user/controllers/user.php
class User extends MX_Controller
{
    public function __construct()
    {
        parent::__construct();
    }

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


i wanna ask how i load and use user level module controller inside user module controller
coz i wanna use level_all_list method on level controller
please help me.



Thanks




Theme © iAndrew 2016 - Forum software by © MyBB