Re: cvs: phpdoc /en/reference/strings/functions number-format.xml
| From: | Richard Quadling | Date: | Fri, 16 Jan 2009 16:22:12 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/strings/functions number-format.xml | ||
| References: | 1 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-3049@lists.php.net to get a copy of this message | ||
2009/1/16 Jakub Vrana <vrana@php.net>:
> vrana Fri Jan 16 16:12:42 2009 UTC
>
> Modified files:
> /phpdoc/en/reference/strings/functions number-format.xml
> Log:
> Join two syntaxes
>
>
> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/number-format.xml?r1=1.13&r2=1.14&diff_format=u
> Index: phpdoc/en/reference/strings/functions/number-format.xml
> diff -u phpdoc/en/reference/strings/functions/number-format.xml:1.13
> phpdoc/en/reference/strings/functions/number-format.xml:1.14
> --- phpdoc/en/reference/strings/functions/number-format.xml:1.13 Wed May 21 21:13:53
> 2008
> +++ phpdoc/en/reference/strings/functions/number-format.xml Fri Jan 16 16:12:42 2009
> @@ -1,5 +1,5 @@
> <?xml version="1.0" encoding="utf-8"?>
> -<!-- $Revision: 1.13 $ -->
> +<!-- $Revision: 1.14 $ -->
> <refentry xmlns="http://docbook.org/ns/docbook"
> xml:id="function.number-format"
> xmlns:xlink="http://www.w3.org/1999/xlink">
> <refnamediv>
> <refname>number_format</refname>
> @@ -12,12 +12,7 @@
> <type>string</type><methodname>number_format</methodname>
>
> <methodparam><type>float</type><parameter>number</parameter></methodparam>
> <methodparam
> choice="opt"><type>int</type><parameter>decimals</parameter></methodparam>
> - </methodsynopsis>
> - <methodsynopsis>
> - <type>string</type><methodname>number_format</methodname>
> -
> <methodparam><type>float</type><parameter>number</parameter></methodparam>
> -
> <methodparam><type>int</type><parameter>decimals</parameter></methodparam>
> -
> <methodparam><type>string</type><parameter>dec_point</parameter></methodparam>
> + <methodparam
> choice="opt"><type>string</type><parameter>dec_point</parameter></methodparam>
>
> <methodparam><type>string</type><parameter>thousands_sep</parameter></methodparam>
> </methodsynopsis>
> <para>
Jakub,
The choice="opt" attribute only applies to a single parameter.
This function (and others with 2 prototypes) has 2 distinct signatures.
I put a proposal through to DocBook (and it was accepted and is to be
part of DocBook 5.1) to introduce a <methodparamgroup> tag.
This tag would allow for grouping of optional params.
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"