PyroCMS uses HMVC , so accessing resources from other modules is easy.
Let's say you want to load the navigation_m model:
This will work from the navigation module (where it is):
$this->load->model('navigation_m');
This will work anywhere:
$this->load->model('navigation/navigation_m');
What is it! No need to include the model/ path, the bootloader will take care of this for you. The same applies to language files, libraries, and other resources.
source share