<div dir="ltr">Alan,<div><br></div><div>I just tried with Settings:Groups</div><div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">$name = 'Settings:Groups';<br>print_r(Settings_Vtiger_Module_Model::getInstance($name));</blockquote><div><br></div><div>and this is the response I got </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> Settings_Groups_Module_Model Object<br>(<br> [baseTable] => vtiger_groups<br> [baseIndex] => groupid<br> [listFields] => Array<br> (<br> [groupname] => Name<br> [description] => Description<br> )<br> [name] => Groups<br> [nameFields] => Array<br> (<br> [0] => name<br> )<br> [valueMap:protected] => Array<br> (<br> )<br>)</blockquote><div><br></div><div>It is working for me. </div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 30 September 2016 at 20:43, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Around line 124 of the class in the getComponentClassName function I see:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
if($baseModule == 'Settings') $baseModule = 'Settings:Vtiger';<br>
</blockquote>
<br>
I think this means that whatever name I pass into<br>
<br>
Settings_Vtiger_Module_Model::<wbr>getInstance($name)<br>
<br>
e.g. $name = "Settings:MyModuleName"<br>
<br>
It will always return the Settings_Vtiger_Module_Model.<br>
<br>
Am I right?<br>
<br>
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!<br>
<br>
Cheers<br>
<br>
Al<br>
<br>
<br>
______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Regards<br>Vikas<br>Vtiger Team</div>
</div>