Document fbsql_rows_fetched() and fbsql_set_transaction()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@231060 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mehdi Achour 2007-03-03 03:20:43 +00:00
parent dbb6b3353e
commit 807f1ae20b
2 changed files with 36 additions and 6 deletions

View file

@ -1,19 +1,35 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- $Revision: 1.2 $ -->
<refentry id="function.fbsql-rows-fetched">
<refnamediv>
<refname>fbsql_rows_fetched</refname>
<refpurpose></refpurpose>
<refpurpose>Get the number of rows affected by the last statement</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>fbsql_rows_fetched</methodname>
<methodparam choice="opt"><type>resource</type><parameter>result</parameter></methodparam>
<methodparam><type>resource</type><parameter>result</parameter></methodparam>
</methodsynopsis>
<para>
&warn.undocumented.func;
Gets the number of rows affected by the last statement.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&fbsql.result.description;
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the number of rows, as an integer.
</para>
</refsect1>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<refentry id='function.fbsql-set-transaction'>
<refnamediv>
<refname>fbsql_set_transaction</refname>
@ -14,7 +14,10 @@
<methodparam><type>int</type><parameter>locking</parameter></methodparam>
<methodparam><type>int</type><parameter>isolation</parameter></methodparam>
</methodsynopsis>
&warn.undocumented.func;
<para>
Sets the transaction <parameter>locking</parameter> and
<parameter>isolation</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
@ -26,6 +29,10 @@
<term><parameter>locking</parameter></term>
<listitem>
<para>
The type of locking to be set. It can be one of the following
constants: <constant>FBSQL_LOCK_DEFERRED</constant>,
<constant>FBSQL_LOCK_OPTIMISTIC</constant>,
or <constant>FBSQL_LOCK_PESSIMISTIC</constant>.
</para>
</listitem>
</varlistentry>
@ -33,6 +40,12 @@
<term><parameter>isolation</parameter></term>
<listitem>
<para>
The type of isolation to be set. It can be one of the following
constants: <constant>FBSQL_ISO_READ_UNCOMMITTED</constant>,
<constant>FBSQL_ISO_READ_COMMITTED</constant>,
<constant>FBSQL_ISO_REPEATABLE_READ</constant>,
<constant>FBSQL_ISO_SERIALIZABLE</constant>,
or <constant>FBSQL_ISO_VERSIONED</constant>.
</para>
</listitem>
</varlistentry>
@ -46,6 +59,7 @@
&return.void;
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file