cvs: peardoc /en/pecl paradox.xml
| From: | Uwe Steinmann | Date: | Tue, 09 Dec 2003 16:31:50 +0000 |
| Subject: | cvs: peardoc /en/pecl paradox.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-2023@lists.php.net to get a copy of this message | ||
steinm Tue Dec 9 11:31:50 2003 EDT
Modified files:
/peardoc/en/pecl paradox.xml
Log:
- added documentation for px_[get|set]_[parameter|value]
Index: peardoc/en/pecl/paradox.xml
diff -u peardoc/en/pecl/paradox.xml:1.3 peardoc/en/pecl/paradox.xml:1.4
--- peardoc/en/pecl/paradox.xml:1.3 Fri Oct 31 09:54:39 2003
+++ peardoc/en/pecl/paradox.xml Tue Dec 9 11:31:49 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- Author: Uwe Steinmann <steinm@php.net> -->
<reference id="pecl.paradox">
<title>Paradox File Access</title>
@@ -270,6 +270,22 @@
<entry><function>px_get_info</function></entry>
</row>
<row>
+ <entry><function>set_parameter</function></entry>
+ <entry><function>px_set_parameter</function></entry>
+ </row>
+ <row>
+ <entry><function>get_parameter</function></entry>
+ <entry><function>px_get_parameter</function></entry>
+ </row>
+ <row>
+ <entry><function>set_value</function></entry>
+ <entry><function>px_set_value</function></entry>
+ </row>
+ <row>
+ <entry><function>get_value</function></entry>
+ <entry><function>px_get_value</function></entry>
+ </row>
+ <row>
<entry><function>set_targetencoding</function></entry>
<entry><function>px_set_targetencoding</function></entry>
</row>
@@ -674,6 +690,163 @@
</refsect1>
</refentry>
+ <refentry id="pecl.paradox.px-set-parameter">
+ <refnamediv>
+ <refname>px_set_parameter</refname>
+ <refpurpose>Sets a parameter</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>bool <function>px_set_parameter</function></funcdef>
+ <paramdef>resource <parameter>pxdoc</parameter></paramdef>
+ <paramdef>string <parameter>name</parameter></paramdef>
+ <paramdef>string <parameter>value</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ <para>
+ Sets various parameters. <parameter>name</parameter> can be one of
+ the following.</para>
+ <variablelist>
+ <varlistentry>
+ <term>tablename</term>
+ <listitem>
+ <para>The name of the table as it will be stored in the datbase
+ header.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>targetencoding</term>
+ <listitem>
+ <para>The encoding for the output. Data which is being read with
+ one of the PX_get_data_xxx(3) functions will return string data
+ in the targetencoding.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>inputencoding</term>
+ <listitem>
+ <para>The econding of the input data which is to be stored into the
+ database.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>
+ See also <function>px_get_info</function> to determine the DOS code page.
+ </para>
+ </refsect1>
+ </refentry>
+
+ <refentry id="pecl.paradox.px-get-parameter">
+ <refnamediv>
+ <refname>px_get_parameter</refname>
+ <refpurpose>Gets a parameter</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>string <function>px_get_parameter</function></funcdef>
+ <paramdef>resource <parameter>pxdoc</parameter></paramdef>
+ <paramdef>string <parameter>name</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ <para>
+ Gets various parameters. <parameter>name</parameter> can be one of
+ the following.</para>
+ <variablelist>
+ <varlistentry>
+ <term>tablename</term>
+ <listitem>
+ <para>The name of the table as it will be stored in the datbase
+ header.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>targetencoding</term>
+ <listitem>
+ <para>The encoding for the output. Data which is being read with
+ one of the PX_get_data_xxx(3) functions will return string data
+ in the targetencoding.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>inputencoding</term>
+ <listitem>
+ <para>The econding of the input data which is to be stored into the
+ database.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+ </refentry>
+
+ <refentry id="pecl.paradox.px-set-value">
+ <refnamediv>
+ <refname>px_set_value</refname>
+ <refpurpose>Sets a value</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>bool <function>px_set_value</function></funcdef>
+ <paramdef>resource <parameter>pxdoc</parameter></paramdef>
+ <paramdef>string <parameter>name</parameter></paramdef>
+ <paramdef>double <parameter>value</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ <para>
+ Sets various values. <parameter>name</parameter> can be one of
+ the following.</para>
+ <variablelist>
+ <varlistentry>
+ <term>numprimkeys</term>
+ <listitem>
+ <para>The number of primary keys. Paradox databases always use the
+ first 'numprimkeys' fields for the primary index.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+ </refentry>
+
+ <refentry id="pecl.paradox.px-get-value">
+ <refnamediv>
+ <refname>px_get_value</refname>
+ <refpurpose>Gets a value</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>double <function>px_set_value</function></funcdef>
+ <paramdef>resource <parameter>pxdoc</parameter></paramdef>
+ <paramdef>string <parameter>name</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ <para>
+ Gets various values. <parameter>name</parameter> can be one of
+ the following.</para>
+ <variablelist>
+ <varlistentry>
+ <term>numprimkeys</term>
+ <listitem>
+ <para>The number of primary keys. Paradox databases always use the
+ first 'numprimkeys' fields for the primary index.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+ </refentry>
+
<refentry id="pecl.paradox.px-set-tablename">
<refnamediv>
<refname>px_set_tablename</refname>
@@ -684,8 +857,8 @@
<funcsynopsis>
<funcprototype>
<funcdef>bool <function>px_set_tablename</function></funcdef>
- <paramdef>resource <parameter>pxdoc</parameter></paramdef>
- <paramdef>string <parameter>name</parameter></paramdef>
+ <paramdef>resource <parameter>pxdoc</parameter></paramdef>
+ <paramdef>string <parameter>name</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>