didou Sat Mar 3 03:20:43 2007 UTC
Modified files:
/phpdoc/en/reference/fbsql/functions fbsql-rows-fetched.xml
fbsql-set-transaction.xml
Log:
Document fbsql_rows_fetched() and fbsql_set_transaction()
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/fbsql/functions/fbsql-rows-fetched.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/fbsql/functions/fbsql-rows-fetched.xml
diff -u phpdoc/en/reference/fbsql/functions/fbsql-rows-fetched.xml:1.1
phpdoc/en/reference/fbsql/functions/fbsql-rows-fetched.xml:1.2
--- phpdoc/en/reference/fbsql/functions/fbsql-rows-fetched.xml:1.1 Sun Jan
28 00:06:14 2007
+++ phpdoc/en/reference/fbsql/functions/fbsql-rows-fetched.xml Sat Mar 3
03:20:43 2007
@@ -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>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/fbsql/functions/fbsql-set-transaction.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/fbsql/functions/fbsql-set-transaction.xml
diff -u phpdoc/en/reference/fbsql/functions/fbsql-set-transaction.xml:1.5
phpdoc/en/reference/fbsql/functions/fbsql-set-transaction.xml:1.6
--- phpdoc/en/reference/fbsql/functions/fbsql-set-transaction.xml:1.5 Mon Jan
22 00:22:11 2007
+++ phpdoc/en/reference/fbsql/functions/fbsql-set-transaction.xml Sat Mar
3 03:20:43 2007
@@ -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