Re: Make PhD work with new xml:id's for methods
| From: | Hannes Magnusson | Date: | Mon, 26 Nov 2007 18:30:05 +0000 |
| Subject: | Re: Make PhD work with new xml:id's for methods | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969378382@lists.php.net to get a copy of this message | ||
On Nov 26, 2007 6:59 PM, Edward Z. Yang <edwardzyang@thewritingpot.com> wrote:
> Hannes Magnusson wrote:
> > Shouldn't the underscore be replaced with dash?
> > Granted that internal PHP methods are supposed to use camelCasedNames
> > I bet some extension will break this convention at some point.
>
> Sure. We'll get some weird names, however, such as class.-private or
> class.--magic, especially for constructors; why are constructors
> currently dash-less (i.e. classname.construct as opposed to
> classname.--construct, which looks weird).
Good point.
>
> > Also, we should probably ditch this leftover from phpbook-xsl and
> > match against the <refname>s to make it possible to both do
> > <function>ext_funcname</function> and
> > <function>ClassName::methodName</function>.
>
> Not sure what you're talking about here, unfortunately. Do you mean
> index the contents of refname to generate a method to filename list? I
> was under the impression that what you were describing was already possible.
See bug#43416
-Hannes