[Vtigercrm-developers] Vtiger Class Loader?
Alan Lord
alanslists at gmail.com
Wed Jun 17 14:50:52 GMT 2015
I might have a need to have an Autoloader within a custom module so my
code can find a bunch of class files in an included library of php code.
So for example my tree would like like
/modules/LSCustomModule/{models,actions,resources,libraries} etc.
In the model I would need to use code that is in an associated library
(built to use any PSR-0 compliant autoloader) under my "libraries"
directory.
I don't think the in-built Vtiger_Loader is going to suffice is it
because the paths will be all wrong...?
Would I need to I register my own Autoloader as part of the
initialisation of my model? Could I override the Vtiger_Loader?
Suggestions welcome ;-)
Thanks
Al
More information about the vtigercrm-developers
mailing list