how load model in another modules in hmvc in codeigniter?

前端 未结 3 574
逝去的感伤
逝去的感伤 2021-01-18 01:34

I want to use The Modular Extensions HMVC in my Project like this:

modules  
      module01
            models
                models01.php
            contr         


        
3条回答
  •  没有蜡笔的小新
    2021-01-18 01:42

    add module name followed by model name, make sure every word is in small. I resolved my issue by using this piece of code.

    $this->load->model('settings/settings_model','settings_model');
    

提交回复
热议问题