Object method documentation.
| From: | Eddie Drapkin | Date: | Thu, 14 Jan 2010 20:35:01 +0000 |
| Subject: | Object method documentation. | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969381298@lists.php.net to get a copy of this message | ||
Right now, in the manual, there's no way to distinguish between static
and concrete methods. Take the DateTime class, for instance.
DateTime::createFromFormat is a static method, and in the navigation,
table of contents, etc. it's referred to as
DateTime::createFromFormat; however, DateTime::format is a concrete
method and is also referred to the same way, so at a glance, there's
no distinction between the two. Would it be possible to change the
formatting slightly to add a distinction? Perhaps concrete methods
could look like DateTime->format instead, as that would have some
resemblance to how they'd be used in actual source code?
Thanks,
Eddie