cvs: peardoc /en/package/database/mdb/mdb-common fetchinto.xml tableinfo.xml
| From: | Lukas Smith | Date: | Fri, 06 Jun 2003 11:12:33 +0000 |
| Subject: | cvs: peardoc /en/package/database/mdb/mdb-common fetchinto.xml tableinfo.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-892@lists.php.net to get a copy of this message | ||
lsmith Fri Jun 6 07:12:33 2003 EDT
Added files:
/peardoc/en/package/database/mdb/mdb-common tableinfo.xml
fetchinto.xml
Log:
initial version
Index: peardoc/en/package/database/mdb/mdb-common/tableinfo.xml
+++ peardoc/en/package/database/mdb/mdb-common/tableinfo.xml
<!-- $Revision: 1.1 $ -->
<refentry id="package.database.mdb.mdb-common.tableinfo">
<refnamediv>
<refname>MDB_Common::tableInfo()</refname>
<refpurpose>get table info from a query</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>
require_once 'MDB.php';
</funcsynopsisinfo>
<funcprototype>
<funcdef>boolean <function>tableInfo</function></funcdef>
<paramdef>resource <parameter>$result</parameter></paramdef>
<paramdef>int <parameter><optional>$mode =
null</optional></parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.database.mdb.mdb-common.tableinfo.desc">
&title.desc;
<para>
Fetch table information from <parameter>result</parameter> query.
</para>
</refsect1>
<refsect1 id="package.database.mdb.mdb-common.tableinfo.return">
&title.returns;
<para>
Returns an associative array of table and field information.
</para>
&warn.undocumented.func;
</refsect1>
<refsect1 id="package.database.mdb.mdb-common.tableinfo.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-executeMultiple-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: peardoc/en/package/database/mdb/mdb-common/fetchinto.xml
+++ peardoc/en/package/database/mdb/mdb-common/fetchinto.xml
<!-- $Revision: 1.1 $ -->
<refentry id="package.database.mdb.mdb-common.fetchinto">
<refnamediv>
<refname>MDB_Common::fetchInto()</refname>
<refpurpose>fetch a row into a variable</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>
require_once 'MDB.php';
</funcsynopsisinfo>
<funcprototype>
<funcdef>mixed <function>fetchInto</function></funcdef>
<paramdef>integer
<parameter><optional>$fetchMode
<constant>MDB_FETCHMODE_DEFAULT</constant>
</optional></parameter>
</paramdef>
<paramdef>integer
<parameter><optional>$rowNum = &null;</optional></parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.database.mdb.mdb-common.fetchinto.desc">
&title.desc;
<para>
Fetch a row and return data in an array.
</para>
</refsect1>
<refsect1 id="package.database.mdb.mdb-common.fetchinto.parameter">
&title.param;
<para>
<variablelist>
<varlistentry>
<term>
&type.int;
<parameter>$fetchMode</parameter>
</term>
<listitem>
<para>
format of fetched row
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
&type.int;
<parameter>$rownum</parameter>
</term>
<listitem>
<para>
the row number to fetch
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 id="package.database.mdb.mdb-common.fetchinto.return">
&title.returns;
<para>
<parameter>mixed</parameter> - an array or &null;, if no
more rows
</para>
</refsect1>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-executeMultiple-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->