Im using the HMVC extension with CodeIgniter and I have 2 modules
modules/frontpage
-- controllers
frontpage.php ( <- this controller needs to load the person model)
-- models
-- views
modules/person
-- controllers
-- models
person_model.php ( defines Person_Model extends Model )
-- views
using the $this->load->model('person_model')inside of the front panel controller, it seems that only global or models contained in one module (main page models) are loaded.
Are there any CodeIgniter experts here?
source
share