[Vtigercrm-developers] Bug in Vtiger_Loader class?
Alan Lord
alanslists at gmail.com
Fri Sep 30 15:13:34 GMT 2016
Around line 124 of the class in the getComponentClassName function I see:
> if($baseModule == 'Settings') $baseModule = 'Settings:Vtiger';
I think this means that whatever name I pass into
Settings_Vtiger_Module_Model::getInstance($name)
e.g. $name = "Settings:MyModuleName"
It will always return the Settings_Vtiger_Module_Model.
Am I right?
I was hoping to dynamically load some Settings modules using a standard
mechanism but couldn't work out why they were always getting loaded as
Vtiger!
Cheers
Al
More information about the vtigercrm-developers
mailing list