Re: a few coding standards
| From: | Curt Zirzow | Date: | Wed, 28 Jul 2004 21:14:07 +0000 |
| Subject: | Re: a few coding standards | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969362346@lists.php.net to get a copy of this message | ||
* Thus wrote Nuno Lopes:
> > Here's how livedocs outputs it, looks a bit better huh? Not sure
> > what version of livedocs this is (or how old these docs are) but
> > it's the only online livedocs I could find:
> >
> > ù…IŸïþ
> > XÚ½—Ó#¦œxhttp://livedocs.coggeshall.org/en/function.mysqli-close.html
> >
>
> May look better, but doesn't work well. in mysqli_close, the name of the
> function isn't outputed.
Seems to be a problem with how livedocs treats <type> and
<methodname> together. there can't be a \n between the two:
Works fine with this fix:
- <type>bool</type>
- <methodname>close</methodname>
+ <type>bool</type><methodname>close</methodname>
http://livedocs.zirzow.dyndns.org/index.php?l=en&q=function.mysqli-close
There also needs a way so you can declare it as a proper method:
public function close()
or other things like:
public static version()
protected getData()
etc..
I'm not a docbook expert but mabey something like:
<methodname role="public static">
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!