<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body >
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;davidv.net@gmail.com&gt;</b> wrote ---- <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">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 "s" 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">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 : "Ok let's make it a rule to always rely on the file with<br>&gt; the "s" at the end"<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 "s" 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">http://jobs.vtiger.com</a><br><br><br>_______________________________________________<br>Reach hundreds of potential candidates - <a href="http://jobs.vtiger.com">http://jobs.vtiger.com</a>
<br><br><br></blockquote></div><br>
_______________________________________________<br>Reach hundreds of potential candidates - http://jobs.vtiger.com <br></blockquote></body></html>