Why "aCase" rather than "Case" in modules.php?

Hello everyone,
    I am using SugarCRM 6.5.x CE version. I want to ask this question to everyone from official SugarCRM personals to everyone who uses SugarCRM in a daily life. In include/modules.php file why did they mentioned
$beanList['Cases'] = 'aCase';
rather than
$beanList['Cases'] = 'Case';
this, like any other modules mentioned in that file?
Parents
  • "case" is a reserved PHP keyword. I guess this is the reason why SugarCRM engineers couldn't  use this as a module name.
  • Case is a reserved keyword

    As for its usage as a string... Yes, we can use the reserved keywords in a string but thats not the only reference.

    We cannot name the module class name as "Case". We also then cant instantiate the class using new Case();


Reply
  • Case is a reserved keyword

    As for its usage as a string... Yes, we can use the reserved keywords in a string but thats not the only reference.

    We cannot name the module class name as "Case". We also then cant instantiate the class using new Case();


Children
No Data