Re: case of classes in <classname>'s etc
| From: | Klaus Guenther | Date: | Tue, 27 Jan 2004 17:51:30 +0000 |
| Subject: | Re: case of classes in <classname>'s etc | ||
| References: | 1 | Groups: | php.pear.dev php.pear.doc |
| Request: | Send a blank email to pear-dev+get-25302@lists.php.net to get a copy of this message | ||
From: Daniel Convissor <danielc@analysisandsolutions.com>
Date: Tue, 27 Jan 2004 02:52:10 -0500
> I noticed that the class names for DB_common and DB_result have been
> written as DB_Common and DB_Result in the various <classname> elements.
>
> This incorrect captitalization is misleading. Is there a reason for it?
The reason is CS. They must be capitalized.[1] Capitalization should be
corrected in the source. I can only imagine that the classes are not
capitalized in the source as a grandfather measure. It is not allowed in new
classes, that's for sure.
Klaus
[1] http://pear.php.net/manual/en/standards.naming.php