Thank you for your reply Mickie.<br><br>So if I understand correctly :<br><br>1rst rule : keep module_folder name, module.php name and class name in sync<br>2nd rule : this name should have a &quot;s&quot; at the end<br><br>
So now 2 questions :<br><br>Why not deleting the old files (Account.php, Email.php, ...) ?<br>Why not renaming Invoice to Invoices ?<br><br>And what do you mean by : &quot;when we try to include a file or create a object based
on the module we could not do that&quot; ?<br><br>Thanks and regards.<br><br>David V.<br><br><br><div><span class="gmail_quote">2006/12/9, Mickie &lt;<a href="mailto:mickie@vtiger.com">mickie@vtiger.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
Dear Team,<br>
<br>
These Accounts.php, Contacts.php, etc., are added to keey the Module name, Module.php name and Class Name similar.<br>
For example if we take Accounts, (module/Accounts/Accounts.php)<br>
module = Accounts<br>
module.php file = Accounts.php<br>
class name = Accounts<br>
<br>
In some places, when we try to include a file or create a object based
on the module we could not do that. Also it will helpful when we add
new modules in future. so that we have used these files with 's'
instead of old files.<br>
<br>Hope this is clear.<br>
Thanks &amp; Regards<br>
Mickie<br><br><br><br>---- On Fri, 08 Dec 2006 <b>David V. &lt;<a href="mailto:davidv.net@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">davidv.net@gmail.com</a>&gt;</b> wrote ---- <div>
<span class="e" id="q_10f65c00abd0f769_1"><br><br><blockquote style="border-left: 1px solid rgb(160, 154, 255); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Either plural or not we need to not what to rely on.<br>If someone from vtiger team could reply on this ... ??
<br><br>Thanks in advance. :-)<br><br>David V.<br><br><br><div><span>2006/12/8, Torsten Zenk &lt;
<a href="mailto:tzenk@gmx.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">tzenk@gmx.net</a>&gt;:</span><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>why not simply say everything in the future should be plural?
<br><br>Cheers<br><br>David V. schrieb:<br>&gt; Hi Everybody !<br>&gt;<br>&gt; Why in the code do we find :<br>&gt;<br>&gt; Accounts.php and Account.php<br>&gt; Campaigns.php and Campaign.php<br>&gt; Emails.php and Email.php

<br>&gt;<br>&gt; Should we rely on the file with a &quot;s&quot; or the other file ?<br>&gt;<br>&gt; I had a look on the code to know wich files were updated by the<br>&gt; developpers :<br>&gt; here for instance (<br>&gt; 
<a href="http://vtiger.fosslabs.com/cgi-bin/trac.cgi/browser/vtigercrm/branches/5.0.3/modules/Accounts?rev=9950" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://vtiger.fosslabs.com/cgi-bin/trac.cgi/browser/vtigercrm/branches/5.0.3/modules/Accounts?rev=9950
</a><br>
&gt; )<br>&gt; You can see that Accounts.php is more recent that Account.php<br>&gt;<br>&gt; So I said : &quot;Ok let's make it a rule to always rely on the file with<br>&gt; the &quot;s&quot; at the end&quot;<br>&gt;<br>

&gt; But this cannot be a rule, because when you look at the Invoice and<br>&gt; the HelpDesk modules there are no file with a &quot;s&quot; at the end.<br>&gt; You can find Invoice.php but not Invoices.php.<br>&gt;<br>&gt; What should we do ?
<br>&gt;<br>&gt; David V.<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________<br>&gt; Reach hundreds of potential candidates - 
<a href="http://jobs.vtiger.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://jobs.vtiger.com</a><br><br><br>_______________________________________________<br>Reach hundreds of potential candidates - 
<a href="http://jobs.vtiger.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://jobs.vtiger.com</a>
<br><br><br></blockquote></div><br>
_______________________________________________<br>Reach hundreds of potential candidates - <a href="http://jobs.vtiger.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://jobs.vtiger.com</a>
 <br></blockquote></span></div></div>
<br>_______________________________________________<br>Reach hundreds of potential candidates - <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://jobs.vtiger.com" target="_blank">http://jobs.vtiger.com
</a><br><br></blockquote></div><br>