cvs: peardoc /en/package/database db.xml /en/package/database/db/db-result tableinfo.xml
| From: | Philip Olson | Date: | Thu, 05 Jun 2003 19:58:03 +0000 |
| Subject: | cvs: peardoc /en/package/database db.xml /en/package/database/db/db-result tableinfo.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-884@lists.php.net to get a copy of this message | ||
philip Thu Jun 5 15:58:03 2003 EDT
Added files:
/peardoc/en/package/database/db/db-result tableinfo.xml
Modified files:
/peardoc/en/package/database db.xml
Log:
Add tableInfo() doc skeleton, fixes missing id.
Index: peardoc/en/package/database/db.xml
diff -u peardoc/en/package/database/db.xml:1.4 peardoc/en/package/database/db.xml:1.5
--- peardoc/en/package/database/db.xml:1.4 Mon Mar 10 17:27:40 2003
+++ peardoc/en/package/database/db.xml Thu Jun 5 15:58:02 2003
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<sect1 id="package.database.db">
<title>DB</title>
@@ -48,6 +48,7 @@
&package.database.db.db-result.fetchrow;
&package.database.db.db-result.free;
&package.database.db.db-result.nextresult;
+ &package.database.db.db-result.tableinfo;
&package.database.db.db-result.numcols;
&package.database.db.db-result.numrows;
Index: peardoc/en/package/database/db/db-result/tableinfo.xml
+++ peardoc/en/package/database/db/db-result/tableinfo.xml
<!-- $Revision: 1.1 $ -->
<refentry id="package.database.db.db-result.tableinfo">
<refnamediv>
<refname>DB_Result::tableInfo()</refname>
<refpurpose>get table info from a query</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>
require_once 'DB.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.db.db-result.tableinfo.desc">
&title.desc;
<para>
Fetch table information from <parameter>result</parameter> query.
</para>
</refsect1>
<refsect1 id="package.database.db.db-result.tableinfo.return">
&title.returns;
<para>
Returns an associative array of table and field information.
</para>
&warn.undocumented.func;
</refsect1>
<refsect1 id="package.database.db.db-result.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
-->