cvs: peardoc /en/package/database/db/db-common autoexecute.xml autoprepare.xml

From: Date: Tue, 17 Jun 2003 12:24:00 +0000
Subject: cvs: peardoc /en/package/database/db/db-common autoexecute.xml autoprepare.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-942@lists.php.net to get a copy of this message
alan_k Tue Jun 17 08:24:00 2003 EDT Modified files: /peardoc/en/package/database/db/db-common autoexecute.xml autoprepare.xml Log: remove 0xA0 characters? fixed to try and get xsltproc to read this Index: peardoc/en/package/database/db/db-common/autoexecute.xml diff -u peardoc/en/package/database/db/db-common/autoexecute.xml:1.5 peardoc/en/package/database/db/db-common/autoexecute.xml:1.6 --- peardoc/en/package/database/db/db-common/autoexecute.xml:1.5 Tue Jun 17 07:10:34 2003 +++ peardoc/en/package/database/db/db-common/autoexecute.xml Tue Jun 17 08:23:59 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="package.database.db.db-common.autoexecute"> <refnamediv> <refname>DB_Common::autoExecute()</refname> @@ -7,8 +7,8 @@ <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> -    require_once 'DB.php'; -   </funcsynopsisinfo> + require_once 'DB.php'; + </funcsynopsisinfo> <funcprototype> <funcdef>DB_Result <function>autoExecute</function></funcdef> @@ -35,7 +35,7 @@ To call autoExecute, you need only an assoc (key => value) where keys are fields names and values are corresponding values of these fields. -  </para> + </para> </refsect1> <refsect1 id="package.database.db.db-common.autoexecute.parameter"> &title.param; @@ -90,13 +90,13 @@ </listitem> </varlistentry> </variablelist> -  </para> + </para> </refsect1> <refsect1 id="package.database.db.db-common.autoexecute.return"> &title.returns; <para> - <parameter>&class.db-result</parameter> - a new &class.db-result; + <parameter>&class.db-result;</parameter> - a new &class.db-result; or a &class.db-error; when fail </para> </refsect1> @@ -104,7 +104,7 @@ <refsect1 id="package.database.db.db-common.autoexecute.throws"> &title.throws; <para> -  <table> + <table> <title>&title.throws.errortable;</title> <tgroup cols="4"> <thead> @@ -130,7 +130,7 @@ Available modes are only <constant>DB_AUTOQUERY_INSERT</constant> for "insert queries" or <constant>DB_AUTOQUERY_UPDATE</constant> for "update queries". -       </entry> + </entry> </row> <row> <entry><constant>DB_ERROR_NO_DB_SELECTED</constant></entry> @@ -139,7 +139,7 @@ <entry> Check the <link linkend="package.database.db.intro-dsn">DSN</link> in <link linkend="package.database.db.db.connect"><function>connect</function></link>. -       </entry> + </entry> </row> <row> <entry>every other error code</entry> @@ -151,12 +151,12 @@ Check the database related section of <ulink url="www.php.net/manual/">PHP-Manual</ulink> to detect the reason for this error. -      </entry> + </entry> </row> </tbody> </tgroup> </table> -  </para> + </para> </refsect1> @@ -177,7 +177,7 @@ <link linkend="package.database.db.db-common.execute"><function>execute</function></link>, <link linkend="package.database.db.db-common.executemultiple"><function>executeMultiple</function></link>, <link linkend="package.database.db.db-common.autoprepare"><function>autoPrepare</function></link> -  </para> + </para> </refsect1> Index: peardoc/en/package/database/db/db-common/autoprepare.xml diff -u peardoc/en/package/database/db/db-common/autoprepare.xml:1.5 peardoc/en/package/database/db/db-common/autoprepare.xml:1.6 --- peardoc/en/package/database/db/db-common/autoprepare.xml:1.5 Fri May 9 03:57:37 2003 +++ peardoc/en/package/database/db/db-common/autoprepare.xml Tue Jun 17 08:23:59 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="package.database.db.db-common.autoprepare"> <refnamediv> <refname>DB_Common::autoPrepare()</refname> @@ -7,8 +7,8 @@ <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> -    require_once 'DB.php'; -   </funcsynopsisinfo> + require_once 'DB.php'; + </funcsynopsisinfo> <funcprototype> <funcdef>resource <function>autoPrepare</function></funcdef> <paramdef>string <parameter>$table</parameter></paramdef> @@ -23,10 +23,10 @@ <refsect1 id="package.database.db.db-common.autoprepare.desc"> &title.desc; <para> -   <function>autoPrepare</function> build automaticaly an insert or an update sql query and + <function>autoPrepare</function> build automaticaly an insert or an update sql query and call <link linkend="package.database.db.db-common.prepare"><function>prepare</function> </link>with it. The sql query is build by using an ordered array containing fields names. -  </para> + </para> </refsect1> @@ -81,20 +81,20 @@ </listitem> </varlistentry> </variablelist> -  </para> + </para> </refsect1> <refsect1 id="package.database.db.db-common.autoprepare.return"> &title.returns; <para> -   <parameter>resource</parameter> - resource handle for the query + <parameter>resource</parameter> - resource handle for the query </para> </refsect1> <refsect1 id="package.database.db.db-common.autoprepare.throws"> &title.throws; <para> -  <table> + <table> <title>&title.throws.errortable;</title> <tgroup cols="4"> <thead> @@ -109,14 +109,14 @@ <row> <entry><constant>DB_ERROR_NEED_MORE_DATA</constant></entry> <entry> -       &null; -       </entry> + &null; + </entry> <entry> The ordered array, which has to contain fields names, is empty. -       </entry> + </entry> <entry> Check and correct your fields names array. -      </entry> + </entry> </row> <row> <entry><constant>DB_ERROR_SYNTAX</constant></entry> @@ -126,39 +126,39 @@ Available modes are only <constant>DB_AUTOQUERY_INSERT</constant> for "insert queries" or <constant>DB_AUTOQUERY_UPDATE</constant> for "update queries". -       </entry> + </entry> </row> <row> <entry><constant>DB_ERROR_NO_DB_SELECTED</constant></entry> <entry> &null; -       </entry> + </entry> <entry> No database was choosen. -       </entry> + </entry> <entry> Check the <link linkend="package.database.db.intro-dsn">DSN</link> in <link linkend="package.database.db.db.connect"> <function>connect</function></link>. -       </entry> + </entry> </row> <row> <entry>every other error code</entry> <entry></entry> <entry> Database specific error -       </entry> + </entry> <entry> Check the database related section of -        <ulink url="www.php.net/manual/">PHP-Manual</ulink> -        to detect the reason for this error. -      </entry> + <ulink url="www.php.net/manual/">PHP-Manual</ulink> + to detect the reason for this error. + </entry> </row> </tbody> </tgroup> </table> -  </para> + </para> </refsect1> @@ -166,9 +166,9 @@ &title.note; &note.notstatic; <para> -  See <link linkend="package.database.db.intro-auto"><quote>Introduction - autoPrepare and autoExecute</quote></link> + See <link linkend="package.database.db.intro-auto"><quote>Introduction - autoPrepare and autoExecute</quote></link> for general using and an example. -  </para> + </para> </refsect1>

« previous php.pear.doc (#942) next »