Re: phpdoc conventions on methods
| From: | Hannes Magnusson | Date: | Thu, 16 Aug 2007 20:52:18 +0000 |
| Subject: | Re: phpdoc conventions on methods | ||
| References: | 1 2 3 4 5 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969377470@lists.php.net to get a copy of this message | ||
On 8/16/07, Stanislav Malyshev <stas@zend.com> wrote:
> >> What if OO and procedural have different names, like Format->getError
> >> and format_get_error?
> >
> > Life sucks :)
> > Depending on the xml:id you can only create a link the OO way or the
> > procedural way.
>
> I see. So then I can't use <function> for the second way - I should use
> <link> then or <xref>?
I would go with <link linkend="function.foo">class::method()</link>
IIRC <xref/> uses the first <refname /> as the link-text which is
probably the thing you are trying to avoid.
-Hannes