Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a few issues
Browse files Browse the repository at this point in the history
kocsismate committed Aug 31, 2021

Verified

This commit was signed with the committer’s verified signature.
kocsismate Máté Kocsis
1 parent c5b9252 commit c3978de
Showing 10 changed files with 25 additions and 30 deletions.
2 changes: 1 addition & 1 deletion reference/oci8/OCI-Collection/append.xml
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@
<term><parameter>value</parameter></term>
<listitem>
<para>
The value to be added to the collection. Can be a string or a number.
The value to be added to the collection.
</para>
</listitem>
</varlistentry>
7 changes: 3 additions & 4 deletions reference/oci8/OCI-Collection/assignElem.xml
Original file line number Diff line number Diff line change
@@ -9,9 +9,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="oop">
<type>bool</type><methodname>OCICollection::assignElem</methodname>
<modifier>public</modifier> <type>bool</type><methodname>OCICollection::assignElem</methodname>
<methodparam><type>int</type><parameter>index</parameter></methodparam>
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
<methodparam><type>string</type><parameter>value</parameter></methodparam>
</methodsynopsis>
<para>
Assigns a value to the element with index <parameter>index</parameter>.
@@ -76,13 +76,12 @@
&reftitle.seealso;
<para>
<simplelist>
<member><xref linkend="oci-collection.getelem" /></member>
<member><xref linkend="oci-collection.getelem"/></member>
</simplelist>
</para>
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
5 changes: 2 additions & 3 deletions reference/oci8/OCI-Lob/getBuffering.xml
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="oop">
<type>bool</type><methodname>OCILob::getBuffering</methodname>
<modifier>public</modifier> <type>bool</type><methodname>OCILob::getBuffering</methodname>
<void/>
</methodsynopsis>
<para>
@@ -52,13 +52,12 @@
&reftitle.seealso;
<para>
<simplelist>
<member><xref linkend="oci-lob.setbuffering" /></member>
<member><xref linkend="oci-lob.setbuffering"/></member>
</simplelist>
</para>
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
11 changes: 5 additions & 6 deletions reference/oci8/OCI-Lob/setBuffering.xml
Original file line number Diff line number Diff line change
@@ -9,12 +9,12 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="oop">
<type>bool</type><methodname>OCILob::setBuffering</methodname>
<methodparam><type>bool</type><parameter>on_off</parameter></methodparam>
<modifier>public</modifier> <type>bool</type><methodname>OCILob::setBuffering</methodname>
<methodparam><type>bool</type><parameter>mode</parameter></methodparam>
</methodsynopsis>
<para>
Sets the buffering for the large object, depending on the value of the
<parameter>on_off</parameter> parameter.
<parameter>mode</parameter> parameter.
</para>
<para>
Use of this function may provide performance improvements by buffering
@@ -31,7 +31,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>on_off</parameter></term>
<term><parameter>mode</parameter></term>
<listitem>
<para>
&true; for on and &false; for off.
@@ -77,13 +77,12 @@
&reftitle.seealso;
<para>
<simplelist>
<member><xref linkend="oci-lob.getbuffering" /></member>
<member><xref linkend="oci-lob.getbuffering"/></member>
</simplelist>
</para>
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
5 changes: 2 additions & 3 deletions reference/oci8/OCI-Lob/truncate.xml
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="oop">
<type>bool</type><methodname>Lob::truncate</methodname>
<modifier>public</modifier> <type>bool</type><methodname>OCILob::truncate</methodname>
<methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
@@ -69,13 +69,12 @@
&reftitle.seealso;
<para>
<simplelist>
<member><xref linkend="oci-lob.erase" /></member>
<member><xref linkend="oci-lob.erase"/></member>
</simplelist>
</para>
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
11 changes: 5 additions & 6 deletions reference/oci8/OCI-Lob/writeTemporary.xml
Original file line number Diff line number Diff line change
@@ -9,16 +9,16 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="oop">
<type>bool</type><methodname>OCILob::writeTemporary</methodname>
<modifier>public</modifier> <type>bool</type><methodname>OCILob::writeTemporary</methodname>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>lob_type</parameter><initializer>OCI_TEMP_CLOB</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>type</parameter><initializer><constant>OCI_TEMP_CLOB</constant></initializer></methodparam>
</methodsynopsis>
<para>
Creates a temporary large object and writes <parameter>data</parameter>
to it.
</para>
<para>
You should use <xref linkend="oci-lob.close" /> when you are done
You should use <xref linkend="oci-lob.close"/> when you are done
with this object.
</para>
</refsect1>
@@ -36,7 +36,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>lob_type</parameter></term>
<term><parameter>type</parameter></term>
<listitem>
<para>
Can be one of the following:
@@ -90,13 +90,12 @@
&reftitle.seealso;
<para>
<simplelist>
<member><xref linkend="oci-lob.close" /></member>
<member><xref linkend="oci-lob.close"/></member>
</simplelist>
</para>
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
2 changes: 1 addition & 1 deletion reference/oci8/functions/oci-fetch-all.xml
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
<methodparam><type>array</type><parameter role="reference">output</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>limit</parameter><initializer>-1</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>OCI_FETCHSTATEMENT_BY_COLUMN | OCI_ASSOC</initializer></methodparam>
</methodsynopsis>
<para>
Fetches multiple rows from a query into a two-dimensional array.
2 changes: 1 addition & 1 deletion reference/oci8/functions/oci-fetch-array.xml
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@
<methodsynopsis>
<type class="union"><type>array</type><type>false</type></type><methodname>oci_fetch_array</methodname>
<methodparam><type>resource</type><parameter>statement</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer>PHP_OCI_BOTH | PHP_OCI_RETURN_NULLS</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer>OCI_BOTH | OCI_RETURN_NULLS</initializer></methodparam>
</methodsynopsis>
<para>
Returns an array containing the next result-set row of a query.
2 changes: 1 addition & 1 deletion reference/oci8/functions/oci-fetch-object.xml
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
<methodsynopsis>
<type class="union"><type>stdClass</type><type>false</type></type><methodname>oci_fetch_object</methodname>
<methodparam><type>resource</type><parameter>statement</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer>PHP_OCI_ASSOC | PHP_OCI_RETURN_NULLS</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer>OCI_ASSOC | OCI_RETURN_NULLS</initializer></methodparam>
</methodsynopsis>
<para>
Returns an object containing the next result-set row of a query.
8 changes: 4 additions & 4 deletions reference/oci8/functions/oci-password-change.xml
Original file line number Diff line number Diff line change
@@ -10,14 +10,14 @@
&reftitle.description;
<methodsynopsis>
<type class="union"><type>resource</type><type>bool</type></type><methodname>oci_password_change</methodname>
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
<methodparam><type class="union"><type>resource</type><type>string</type></type><parameter>connection</parameter></methodparam>
<methodparam><type>string</type><parameter>username</parameter></methodparam>
<methodparam><type>string</type><parameter>old_password</parameter></methodparam>
<methodparam><type>string</type><parameter>new_password</parameter></methodparam>
</methodsynopsis>
<methodsynopsis>
<type class="union"><type>resource</type><type>bool</type></type><methodname>oci_password_change</methodname>
<methodparam><type>string</type><parameter>dbname</parameter></methodparam>
<methodparam><type class="union"><type>resource</type><type>string</type></type><parameter>connection</parameter></methodparam>
<methodparam><type>string</type><parameter>username</parameter></methodparam>
<methodparam><type>string</type><parameter>old_password</parameter></methodparam>
<methodparam><type>string</type><parameter>new_password</parameter></methodparam>
@@ -69,7 +69,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>dbname</parameter></term>
<term><parameter>connection</parameter></term>
<listitem>
<para>
The database name.
@@ -84,7 +84,7 @@
&reftitle.returnvalues;
<para>
When <parameter>connection</parameter> is provided, <function>oci_password_change</function> returns &true; on success,
or &false; on failure. When <parameter>dbname</parameter> is provided, <function>oci_password_change</function> returns
or &false; on failure. When <parameter>connection</parameter> is provided, <function>oci_password_change</function> returns
the connection resource on success, or &false; on failure.
</para>
</refsect1>

0 comments on commit c3978de

Please sign in to comment.