Christopher Kings-Lynne wrote:
> 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>

> string pg_parameter_status ( [resource connection, string param_name] )

This is expected, optional parameters are allowed only at the end of
parameters list. If the parameter in the beginning is optional provide
two <methodsynopsis> block as in e.g. ibase_blob_echo.

Jakub Vrana

Reply via email to