-1
嗨,大家好。HMCV如何从其他模块加载模型
这里我真的很简单的问题。
我在
modules/guestbook/admin.php
,我想从不同的模块加载模型
modules/admin/models/
这个方法:
$this->load->model('someModel', 'someModel'); is not working bcz HMVC is looking only in the same module the controller is in or in application/models/
可能有人建议乔希Yudell该如何可以用HMCV来做到这一点。我试过使用
Modules::find,Modules::load Modules::load_file, bt there is no result with it.
在此先感谢。 Josh Yudell