Problem with optional parameters
| From: | Christopher Kings-Lynne | Date: | Mon, 04 Apr 2005 01:36:48 +0000 |
| Subject: | Problem with optional parameters | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969367379@lists.php.net to get a copy of this message | ||
Hi,
I have modified the docs to show optional parameters, like this:
<methodsynopsis>
<type>string</type><methodname>pg_parameter_status</methodname>
<methodparam choice="opt"><type>resource</type><parameter>connection</parameter></methodparam>
<methodparam><type>string</type><parameter>param_name</parameter></methodparam>
</methodsynopsis>
However this displays as:
string pg_parameter_status ( [resource connection, string param_name] )
How come it's made both parameters optional? Is this a bug in the XSLT? Can one only make trailing parameters optional?
Chris