Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion reference/sqlsrv/functions/sqlsrv-client-info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>sqlsrv_client_info</methodname>
<type class="union"><type>array</type><type>false</type></type><methodname>sqlsrv_client_info</methodname>
<methodparam><type>resource</type><parameter>conn</parameter></methodparam>
</methodsynopsis>
<simpara>
Expand Down
2 changes: 1 addition & 1 deletion reference/sqlsrv/functions/sqlsrv-connect.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>resource</type><methodname>sqlsrv_connect</methodname>
<type class="union"><type>resource</type><type>false</type></type><methodname>sqlsrv_connect</methodname>
<methodparam><type>string</type><parameter>serverName</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>connectionInfo</parameter></methodparam>
</methodsynopsis>
Expand Down
7 changes: 4 additions & 3 deletions reference/sqlsrv/functions/sqlsrv-errors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
&reftitle.description;
<methodsynopsis>
<!-- Example: All functions have this -->
<type>mixed</type><methodname>sqlsrv_errors</methodname>
<type class="union"><type>array</type><type>false</type><type>null</type></type><methodname>sqlsrv_errors</methodname>
<methodparam choice="opt"><type>int</type><parameter>errorsOrWarnings</parameter></methodparam>
</methodsynopsis>
<simpara>
Expand Down Expand Up @@ -39,8 +39,9 @@
<para>
If errors and/or warnings occurred on the last sqlsrv operation, an array of
arrays containing error information is returned. If no errors and/or warnings
occurred on the last sqlsrv operation, &null; is returned. The following table
describes the structure of the returned arrays:
occurred on the last sqlsrv operation, &null; is returned. If an invalid
<parameter>errorsOrWarnings</parameter> value is given, &false; is returned.
The following table describes the structure of the returned arrays:
<table>
<title>Array returned by sqlsrv_errors</title>
<tgroup cols="2">
Expand Down
2 changes: 1 addition & 1 deletion reference/sqlsrv/functions/sqlsrv-fetch-array.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>sqlsrv_fetch_array</methodname>
<type class="union"><type>array</type><type>false</type><type>null</type></type><methodname>sqlsrv_fetch_array</methodname>
<methodparam><type>resource</type><parameter>stmt</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>fetchType</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>row</parameter></methodparam>
Expand Down
2 changes: 1 addition & 1 deletion reference/sqlsrv/functions/sqlsrv-fetch-object.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>sqlsrv_fetch_object</methodname>
<type class="union"><type>object</type><type>false</type><type>null</type></type><methodname>sqlsrv_fetch_object</methodname>
<methodparam><type>resource</type><parameter>stmt</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>className</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>ctorParams</parameter></methodparam>
Expand Down
2 changes: 1 addition & 1 deletion reference/sqlsrv/functions/sqlsrv-fetch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
&reftitle.description;
<methodsynopsis>
<!-- Example: All functions have this -->
<type>mixed</type><methodname>sqlsrv_fetch</methodname>
<type class="union"><type>bool</type><type>null</type></type><methodname>sqlsrv_fetch</methodname>
<methodparam><type>resource</type><parameter>stmt</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>row</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>offset</parameter></methodparam>
Expand Down
2 changes: 1 addition & 1 deletion reference/sqlsrv/functions/sqlsrv-field-metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>sqlsrv_field_metadata</methodname>
<type class="union"><type>array</type><type>false</type></type><methodname>sqlsrv_field_metadata</methodname>
<methodparam><type>resource</type><parameter>stmt</parameter></methodparam>
</methodsynopsis>
<simpara>
Expand Down
2 changes: 1 addition & 1 deletion reference/sqlsrv/functions/sqlsrv-get-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>sqlsrv_get_config</methodname>
<type class="union"><type>int</type><type>bool</type></type><methodname>sqlsrv_get_config</methodname>
<methodparam><type>string</type><parameter>setting</parameter></methodparam>
</methodsynopsis>
<simpara>
Expand Down
2 changes: 1 addition & 1 deletion reference/sqlsrv/functions/sqlsrv-next-result.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>sqlsrv_next_result</methodname>
<type class="union"><type>bool</type><type>null</type></type><methodname>sqlsrv_next_result</methodname>
<!-- Example: Required parameter -->
<methodparam><type>resource</type><parameter>stmt</parameter></methodparam>
</methodsynopsis>
Expand Down
2 changes: 1 addition & 1 deletion reference/sqlsrv/functions/sqlsrv-num-fields.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>sqlsrv_num_fields</methodname>
<type class="union"><type>int</type><type>false</type></type><methodname>sqlsrv_num_fields</methodname>
<methodparam><type>resource</type><parameter>stmt</parameter></methodparam>
</methodsynopsis>
<simpara>
Expand Down
2 changes: 1 addition & 1 deletion reference/sqlsrv/functions/sqlsrv-num-rows.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>sqlsrv_num_rows</methodname>
<type class="union"><type>int</type><type>false</type></type><methodname>sqlsrv_num_rows</methodname>
<methodparam><type>resource</type><parameter>stmt</parameter></methodparam>
</methodsynopsis>
<simpara>
Expand Down
2 changes: 1 addition & 1 deletion reference/sqlsrv/functions/sqlsrv-prepare.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>sqlsrv_prepare</methodname>
<type class="union"><type>resource</type><type>false</type></type><methodname>sqlsrv_prepare</methodname>
<methodparam><type>resource</type><parameter>conn</parameter></methodparam>
<methodparam><type>string</type><parameter>sql</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>params</parameter></methodparam>
Expand Down
2 changes: 1 addition & 1 deletion reference/sqlsrv/functions/sqlsrv-query.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>sqlsrv_query</methodname>
<type class="union"><type>resource</type><type>false</type></type><methodname>sqlsrv_query</methodname>
<methodparam><type>resource</type><parameter>conn</parameter></methodparam>
<methodparam><type>string</type><parameter>sql</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>params</parameter></methodparam>
Expand Down
5 changes: 3 additions & 2 deletions reference/sqlsrv/functions/sqlsrv-send-stream-data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>sqlsrv_send_stream_data</methodname>
<type class="union"><type>bool</type><type>null</type></type><methodname>sqlsrv_send_stream_data</methodname>
<methodparam><type>resource</type><parameter>stmt</parameter></methodparam>
</methodsynopsis>
<simpara>
Expand All @@ -35,7 +35,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<simpara>
Returns &true; if there is more data to send and &false; if there is not.
Returns &true; if there is more data to send, &null; if all of the data has
been sent, and &false; if an error occurred.
</simpara>
</refsect1>

Expand Down
4 changes: 2 additions & 2 deletions reference/sqlsrv/functions/sqlsrv-server-info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>sqlsrv_server_info</methodname>
<type class="union"><type>array</type><type>false</type></type><methodname>sqlsrv_server_info</methodname>
<methodparam><type>resource</type><parameter>conn</parameter></methodparam>
</methodsynopsis>
<simpara>
Expand All @@ -33,7 +33,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns an array as described in the following table:
Returns an array as described in the following table, or &false; on failure:
<table>
<title>Returned Array</title>
<tgroup cols="2">
Expand Down