didou Sun Jan 7 21:19:57 2007 UTC
Modified files:
/phpdoc/en/reference/pdo/functions PDO-beginTransaction.xml
PDO-commit.xml PDO-rollBack.xml
PDO-setAttribute.xml
PDOStatement-bindColumn.xml
PDOStatement-bindParam.xml
PDOStatement-bindValue.xml
PDOStatement-closeCursor.xml
PDOStatement-getAttribute.xml
PDOStatement-rowCount.xml
PDOStatement-setAttribute.xml
Log:
Clean up docs and add missing returnvalues
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo/functions/PDO-beginTransaction.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc/en/reference/pdo/functions/PDO-beginTransaction.xml
diff -u phpdoc/en/reference/pdo/functions/PDO-beginTransaction.xml:1.7
phpdoc/en/reference/pdo/functions/PDO-beginTransaction.xml:1.8
--- phpdoc/en/reference/pdo/functions/PDO-beginTransaction.xml:1.7 Sun Jan
7 20:57:47 2007
+++ phpdoc/en/reference/pdo/functions/PDO-beginTransaction.xml Sun Jan 7
21:19:57 2007
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<refentry id="function.PDO-beginTransaction">
<refnamediv>
<refname>PDO->beginTransaction()</refname>
@@ -34,6 +34,13 @@
</refsect1>
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.success;
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo/functions/PDO-commit.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/pdo/functions/PDO-commit.xml
diff -u phpdoc/en/reference/pdo/functions/PDO-commit.xml:1.5
phpdoc/en/reference/pdo/functions/PDO-commit.xml:1.6
--- phpdoc/en/reference/pdo/functions/PDO-commit.xml:1.5 Sun Jan 7
20:57:47 2007
+++ phpdoc/en/reference/pdo/functions/PDO-commit.xml Sun Jan 7 21:19:57 2007
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<refentry id="function.PDO-commit">
<refnamediv>
<refname>PDO->commit()</refname>
@@ -24,6 +24,13 @@
</para>
</refsect1>
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.success;
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo/functions/PDO-rollBack.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/pdo/functions/PDO-rollBack.xml
diff -u phpdoc/en/reference/pdo/functions/PDO-rollBack.xml:1.9
phpdoc/en/reference/pdo/functions/PDO-rollBack.xml:1.10
--- phpdoc/en/reference/pdo/functions/PDO-rollBack.xml:1.9 Sun Jan 7
20:57:48 2007
+++ phpdoc/en/reference/pdo/functions/PDO-rollBack.xml Sun Jan 7 21:19:57 2007
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<refentry id="function.PDO-rollBack">
<refnamediv>
<refname>PDO->rollBack()</refname>
@@ -36,6 +36,13 @@
</para>
</refsect1>
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.success;
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo/functions/PDO-setAttribute.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/pdo/functions/PDO-setAttribute.xml
diff -u phpdoc/en/reference/pdo/functions/PDO-setAttribute.xml:1.9
phpdoc/en/reference/pdo/functions/PDO-setAttribute.xml:1.10
--- phpdoc/en/reference/pdo/functions/PDO-setAttribute.xml:1.9 Sun Jan 7
20:57:48 2007
+++ phpdoc/en/reference/pdo/functions/PDO-setAttribute.xml Sun Jan 7
21:19:57 2007
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<refentry id="function.PDO-setAttribute">
<refnamediv>
<refname>PDO->setAttribute()</refname>
@@ -80,6 +80,14 @@
</itemizedlist>
</para>
</refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.success;
+ </para>
+ </refsect1>
+
</refentry>
<!-- Keep this comment at the end of the file
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo/functions/PDOStatement-bindColumn.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/en/reference/pdo/functions/PDOStatement-bindColumn.xml
diff -u phpdoc/en/reference/pdo/functions/PDOStatement-bindColumn.xml:1.10
phpdoc/en/reference/pdo/functions/PDOStatement-bindColumn.xml:1.11
--- phpdoc/en/reference/pdo/functions/PDOStatement-bindColumn.xml:1.10 Sun Jan
7 20:57:48 2007
+++ phpdoc/en/reference/pdo/functions/PDOStatement-bindColumn.xml Sun Jan
7 21:19:57 2007
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<refentry id="function.PDOStatement-bindColumn">
<refnamediv>
<refname>PDOStatement->bindColumn()</refname>
@@ -69,6 +69,13 @@
</para>
</refsect1>
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.success;
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo/functions/PDOStatement-bindParam.xml?r1=1.13&r2=1.14&diff_format=u
Index: phpdoc/en/reference/pdo/functions/PDOStatement-bindParam.xml
diff -u phpdoc/en/reference/pdo/functions/PDOStatement-bindParam.xml:1.13
phpdoc/en/reference/pdo/functions/PDOStatement-bindParam.xml:1.14
--- phpdoc/en/reference/pdo/functions/PDOStatement-bindParam.xml:1.13 Sun Jan
7 20:57:48 2007
+++ phpdoc/en/reference/pdo/functions/PDOStatement-bindParam.xml Sun Jan
7 21:19:57 2007
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.13 $ -->
+<!-- $Revision: 1.14 $ -->
<refentry id="function.PDOStatement-bindParam">
<refnamediv>
<refname>PDOStatement->bindParam()</refname>
@@ -94,6 +94,13 @@
</para>
</refsect1>
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.success;
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<example><title>Execute a prepared statement with named placeholders</title>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo/functions/PDOStatement-bindValue.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/pdo/functions/PDOStatement-bindValue.xml
diff -u phpdoc/en/reference/pdo/functions/PDOStatement-bindValue.xml:1.5
phpdoc/en/reference/pdo/functions/PDOStatement-bindValue.xml:1.6
--- phpdoc/en/reference/pdo/functions/PDOStatement-bindValue.xml:1.5 Sun Jan
7 20:57:48 2007
+++ phpdoc/en/reference/pdo/functions/PDOStatement-bindValue.xml Sun Jan
7 21:19:57 2007
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<refentry id="function.PDOStatement-bindValue">
<refnamediv>
<refname>PDOStatement->bindValue()</refname>
@@ -61,6 +61,13 @@
</para>
</refsect1>
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.success;
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<example><title>Execute a prepared statement with named placeholders</title>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml
diff -u phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml:1.9
phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml:1.10
--- phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml:1.9 Sun Jan
7 20:57:48 2007
+++ phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml Sun Jan
7 21:19:57 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<refentry id="function.PDOStatement-closeCursor">
<refnamediv>
<refname>PDOStatement->closeCursor()</refname>
@@ -50,39 +50,12 @@
</refsect1>
- <!-- Use when ERRORS exist
- <refsect1 role="errors">
- &reftitle.errors;
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
<para>
- When does this function throw E_* level errors, or exceptions?
+ &return.success;
</para>
</refsect1>
- -->
-
-
- <!-- Use when a CHANGELOG exists
- <refsect1 role="changelog">
- &reftitle.changelog;
- <para>
- <informaltable>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>&Version;</entry>
- <entry>&Description;</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>Enter the PHP version of change here
- <entry>Description of change
- </row>
- </tbody>
- </tgroup>
- </informaltable>
- </para>
- </refsect1>
- -->
<refsect1 role="examples">
&reftitle.examples;
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo/functions/PDOStatement-getAttribute.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc/en/reference/pdo/functions/PDOStatement-getAttribute.xml
diff -u phpdoc/en/reference/pdo/functions/PDOStatement-getAttribute.xml:1.6
phpdoc/en/reference/pdo/functions/PDOStatement-getAttribute.xml:1.7
--- phpdoc/en/reference/pdo/functions/PDOStatement-getAttribute.xml:1.6 Sun Jan
7 20:57:48 2007
+++ phpdoc/en/reference/pdo/functions/PDOStatement-getAttribute.xml Sun Jan
7 21:19:57 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<refentry id="function.PDOStatement-getAttribute">
<refnamediv>
<refname>PDOStatement->getAttribute()</refname>
@@ -29,61 +29,12 @@
</refsect1>
- <!--
- <refsect1 role="parameters">
- &reftitle.parameters;
- <para>
- <variablelist>
- <varlistentry>
- <term><parameter>attribute</parameter></term>
- <listitem>
- <para>
- Its description
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
- </refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- What the function returns, first on success, then on failure. See
- also the &return.success; entity
- </para>
- </refsect1>
- -->
-
- <!-- Use when examples exist
- <refsect1 role="examples">
- &reftitle.examples;
- <para>
- <example>
- <title><function>A PDOStatement-getAttribute example</title>
- <para>
- Any text that describes the purpose of the example, or
- what goes on in the example should go here (inside the
- <example> tag, not out
- </para>
- <programlisting role="php">
-<![CDATA[
-<?php
-if ($anexample === true) {
- echo 'Use the PEAR Coding Standards';
-}
-?>
-]]>
- </programlisting>
- &example.outputs;
- <screen>
-<![CDATA[
-Use the PEAR Coding Standards
-]]>
- </screen>
- </example>
+ Returns the attribute value.
</para>
</refsect1>
- -->
<refsect1 role="seealso">
&reftitle.seealso;
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo/functions/PDOStatement-rowCount.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/en/reference/pdo/functions/PDOStatement-rowCount.xml
diff -u phpdoc/en/reference/pdo/functions/PDOStatement-rowCount.xml:1.11
phpdoc/en/reference/pdo/functions/PDOStatement-rowCount.xml:1.12
--- phpdoc/en/reference/pdo/functions/PDOStatement-rowCount.xml:1.11 Sun Jan
7 20:57:48 2007
+++ phpdoc/en/reference/pdo/functions/PDOStatement-rowCount.xml Sun Jan 7
21:19:57 2007
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<refentry id="function.PDOStatement-rowCount">
<refnamediv>
<refname>PDOStatement->rowCount()</refname>
@@ -30,6 +30,14 @@
on for portable applications.
</para>
</refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Returns the number of rows.
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo/functions/PDOStatement-setAttribute.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc/en/reference/pdo/functions/PDOStatement-setAttribute.xml
diff -u phpdoc/en/reference/pdo/functions/PDOStatement-setAttribute.xml:1.7
phpdoc/en/reference/pdo/functions/PDOStatement-setAttribute.xml:1.8
--- phpdoc/en/reference/pdo/functions/PDOStatement-setAttribute.xml:1.7 Sun Jan
7 20:57:48 2007
+++ phpdoc/en/reference/pdo/functions/PDOStatement-setAttribute.xml Sun Jan
7 21:19:57 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<refentry id="function.PDOStatement-setAttribute">
<refnamediv>
<refname>PDOStatement->setAttribute()</refname>
@@ -30,104 +30,12 @@
</refsect1>
- <!--
- <refsect1 role="parameters">
- &reftitle.parameters;
- <para>
- <variablelist>
- <varlistentry>
- <term><parameter>attribute</parameter></term>
- <listitem>
- <para>
- Its description
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><parameter>value</parameter></term>
- <listitem>
- <para>
- Its description
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
- </refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- What the function returns, first on success, then on failure. See
- also the &return.success; entity
- </para>
- </refsect1>
- -->
-
- <!-- Use when ERRORS exist
- <refsect1 role="errors">
- &reftitle.errors;
- <para>
- When does this function throw E_* level errors, or exceptions?
- </para>
- </refsect1>
- -->
-
-
- <!-- Use when a CHANGELOG exists
- <refsect1 role="changelog">
- &reftitle.changelog;
- <para>
- <informaltable>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>&Version;</entry>
- <entry>&Description</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>Enter the PHP version of change here
- <entry>Description of change
- </row>
- </tbody>
- </tgroup>
- </informaltable>
- </para>
- </refsect1>
- -->
-
-
- <!-- Use when examples exist
- <refsect1 role="examples">
- &reftitle.examples;
- <para>
- <example>
- <title><function>A PDOStatement-setAttribute example</title>
- <para>
- Any text that describes the purpose of the example, or
- what goes on in the example should go here (inside the
- <example> tag, not out
- </para>
- <programlisting role="php">
-<![CDATA[
-<?php
-if ($anexample === true) {
- echo 'Use the PEAR Coding Standards';
-}
-?>
-]]>
- </programlisting>
- &example.outputs;
- <screen>
-<![CDATA[
-Use the PEAR Coding Standards
-]]>
- </screen>
- </example>
+ &return.success;
</para>
</refsect1>
- -->
<refsect1 role="seealso">
&reftitle.seealso;