steinm Thu Feb 10 15:08:52 2005 EDT
Modified files:
/peardoc/en/pecl paradox.xml
Log:
- updated px_get_record()
http://cvs.php.net/diff.php/peardoc/en/pecl/paradox.xml?r1=1.7&r2=1.8&ty=u
Index: peardoc/en/pecl/paradox.xml
diff -u peardoc/en/pecl/paradox.xml:1.7 peardoc/en/pecl/paradox.xml:1.8
--- peardoc/en/pecl/paradox.xml:1.7 Fri Jun 4 03:00:18 2004
+++ peardoc/en/pecl/paradox.xml Thu Feb 10 15:08:51 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- Author: Uwe Steinmann <[EMAIL PROTECTED]> -->
<reference id="pecl.paradox">
<title>Paradox File Access</title>
@@ -286,6 +286,10 @@
<entry><function>px_get_value</function></entry>
</row>
<row>
+ <entry><function>get_info</function></entry>
+ <entry><function>px_get_info</function></entry>
+ </row>
+ <row>
<entry><function>set_targetencoding</function></entry>
<entry><function>px_set_targetencoding</function></entry>
</row>
@@ -293,6 +297,10 @@
<entry><function>set_tablename</function></entry>
<entry><function>px_set_tablename</function></entry>
</row>
+ <row>
+ <entry><function>set_blob_file</function></entry>
+ <entry><function>px_set_blob_file</function></entry>
+ </row>
</tbody>
</tgroup>
</table>
@@ -540,12 +548,11 @@
exactly
like the field name. The element values will contain the field values.
NULL values will be retained and are different from 0.0, 0 or the empty
- string. Currently only values for fields of type PX_FIELD_ALPHA,
- PX_FIELD_SHORT, PX_FIELD_LONG, PX_FIELD_AUTOINC, PX_FIELD_NUMBER,
- PX_FIELD_CURRENCY and PX_FIELD_LOGICAL are supported. Fields of
- unsupported type will not be part of the array. This means, that
- the return value of <function>px_num_fields</function> may differ
- from the number of elements in the array returned by this function.</para>
+ string. Fields of typ PX_FIELD_TIME will be returned as an integer
+ counting the number of milli seconds starting at midnight.
+ A timestamp is a floating point value also counting milli seconds
+ starting at the beginning of julian calendar.
+ </para>
<para>
The record number is an artificial number counting records in the
order as they are stored in the database. The first record has number 0.
@@ -871,6 +878,33 @@
</refsect1>
</refentry>
+ <refentry id="pecl.paradox.px-set-blob-file">
+ <refnamediv>
+ <refname>px_set_blob_file</refname>
+ <refpurpose>Sets the file where blobs are read from</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>bool <function>px_set_blob_file</function></funcdef>
+ <paramdef>resource <parameter>pxdoc</parameter></paramdef>
+ <paramdef>string <parameter>filename</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ <para>
+ Sets the name of the file where blobs are going to be read from.
+ Without calling this function, <function>px_get_record</function>
+ will only return data in blob fields if the data is part of the
+ record and not stored in the blob file. Blob data is stored in
+ the record if it is small enough to fit in the size of the
+ blob field.</para>
+ <para>Calling this function
+ twice will close the first blob file and open the new one.
+ </para>
+ </refsect1>
+ </refentry>
+
<refentry id="pecl.paradox.px-get-info">
<refnamediv>
<refname>px_get_info</refname>