<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Default loader has a lot of possibilities, here is a description of how it works. Maybe this will help you answer your questions.</p>
<p><a href="https://yetiforce.com/en/developer-documentation/engine/177-loader-and-autoloader-of-files.html">https://yetiforce.com/en/developer-documentation/engine/177-loader-and-autoloader-of-files.html</a></p>
<p> </p>
<div>---<br />
<p>Z poważaniem / Regards</p>
<div> </div>
<div><strong>Mariusz Krzaczkowski</strong></div>
<div><em>Director of Product Development</em></div>
<div>M: +48 884-998-123<br />E: <a title="Mail do Mariusz Krzaczkowski" href="mailto:m.krzaczkowski@yetiforce.com" rel="noreferrer">m.krzaczkowski@yetiforce.com</a></div>
<hr />
<p><span>We created an innovative open source project called YetiForceCRM. You can test it </span><a href="https://test.yetiforce.com/" rel="noreferrer">here</a><span>, </span><a href="https://github.com/YetiForceCompany/YetiForceCRM" rel="noreferrer">download</a><span> it for free or read its </span><a href="https://yetiforce.com/en/documentation.html" rel="noreferrer">documentation</a><span>. Follow us on </span><a href="https://twitter.com/YetiForceEN" rel="noreferrer">Twitter</a><span> to get real-time info about new functionalities and articles.</span></p>
</div>
<p> </p>
<p>W dniu 2015-06-17 16:50, Alan Lord napisał(a):</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">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.<br /><br /> So for example my tree would like like<br /><br /> /⁠modules/⁠LSCustomModule/⁠{models,actions,resources,libraries} etc.<br /><br /> 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.<br /><br /> I don't think the in-built Vtiger_Loader is going to suffice is it because the paths will be all wrong...?<br /><br /> Would I need to I register my own Autoloader as part of the initialisation of my model? Could I override the Vtiger_Loader?<br /><br /> Suggestions welcome ;-⁠)<br /><br /> Thanks<br /><br /> Al<br /><br /><br /> _______________________________________________<br /><a href="http://www.vtiger.com/">http://www.vtiger.com/</a></div>
</blockquote>
</body></html>