[Vtigercrm-developers] Vtiger Class Loader?

Mariusz Krzaczkowski m.krzaczkowski at yetiforce.com
Tue Jun 30 12:29:26 GMT 2015


 

Default loader has a lot of possibilities, here is a description of how
it works. Maybe this will help you answer your questions. 

https://yetiforce.com/en/developer-documentation/engine/177-loader-and-autoloader-of-files.html
[2] 

---

Z poważaniem / Regards 

MARIUSZ KRZACZKOWSKI 
_Director of Product Development_ 
M: +48 884-998-123
E: m.krzaczkowski at yetiforce.com 
-------------------------

We created an innovative open source project called YetiForceCRM. You
can test it here [3], download [4] it for free or read its documentation
[5]. Follow us on Twitter [6] to get real-time info about new
functionalities and articles. 

W dniu 2015-06-17 16:50, Alan Lord napisał(a): 

> 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
> 
> _______________________________________________
> http://www.vtiger.com/ [1]
 

Links:
------
[1] http://www.vtiger.com/
[2]
https://yetiforce.com/en/developer-documentation/engine/177-loader-and-autoloader-of-files.html
[3] https://test.yetiforce.com/
[4] https://github.com/YetiForceCompany/YetiForceCRM
[5] https://yetiforce.com/en/documentation.html
[6] https://twitter.com/YetiForceEN
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150630/f57d941d/attachment.html>


More information about the vtigercrm-developers mailing list