Jaxel
Well-known member
I would normally do something like this:
I see in XenForo, very often:
Does this methodology reduce load on subsequent entries? Or is it simply for aesthetics?
Code:
$this->getModelFromCache('EWRporta_Model_Modules')->getModules();
$this->getModelFromCache('EWRporta_Model_Modules')->getModulePermissions();
$this->getModelFromCache('EWRporta_Model_Modules')->parseModules();
I see in XenForo, very often:
Code:
$moduleModel = $this->getModelFromCache('EWRporta_Model_Modules');
$moduleModel->getModules();
$moduleModel->getModulePermissions();
$moduleModel->parseModules();
Does this methodology reduce load on subsequent entries? Or is it simply for aesthetics?