phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-developers] class name conflicts


From: Dirk Schaller
Subject: [Phpgroupware-developers] class name conflicts
Date: Fri, 31 Oct 2003 10:43:16 +0100

Hi developers,

I would like to inform you about a problem with class names during my work
on an application integration concept.

The problem is, that some applications consist of the same bo or so class
name.
When the called application include one of these classes, we get a redeclare
class error.

The following applications are problematic:

etemplate
phpgroupware\etemplate\doc\et_notes\inc\class.so.inc.php
phpgroupware\etemplate\doc\et_notes\inc\class.bo.inc.php
phpgroupware\etemplate\doc\et_notes\inc\class.ui.inc.php

bookmarks:
phpgroupware\bookmarks\inc\class.so.inc.php
phpgroupware\bookmarks\inc\class.bo.inc.php
phpgroupware\bookmarks\inc\class.ui.inc.php

notes:
phpgroupware\notes\inc\class.so.inc.php
phpgroupware\notes\inc\class.bo.inc.php
phpgroupware\notes\inc\class.ui.inc.php

sitemgr:
phpgroupware\sitemgr\sitemgr-site\inc\class.ui.inc.php

todo:
phpgroupware\todo\inc\class.so.inc.php
phpgroupware\todo\inc\class.bo.inc.php
phpgroupware\todo\inc\class.ui.inc.php

tts:
phpgroupware\tts\inc\class.bo.inc.php



The best solution is in my opinion to rename the classes and files in
"<className><appName>".
Or are there uniform rules for the class name assignment?

Dirk S


--
*****    Open Source und Linux im professionellen Einsatz    *****
**  komplexe Mailserver, Groupware, Office: sprechen Sie uns an **
Dipl.-Inform. (FH) Dirk Schaller
pro|business AG, EXPO Plaza 1 (Deutscher Pavillon), 30539 Hannover
E-Mail: address@hidden,  Tel.: 0511/60066-334, Fax: -355  
WWW: http://www.probusiness.de/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]