cvs: peardoc /en/pecl paradox.xml ps.xml

From: Date: Fri, 04 Jun 2004 07:00:18 +0000
Subject: cvs: peardoc /en/pecl paradox.xml ps.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4199@lists.php.net to get a copy of this message
steinm Fri Jun 4 03:00:18 2004 EDT Modified files: /peardoc/en/pecl ps.xml paradox.xml Log: - several small fixes (typos, wrong prototypes) http://cvs.php.net/diff.php/peardoc/en/pecl/ps.xml?r1=1.9&r2=1.10&ty=u Index: peardoc/en/pecl/ps.xml diff -u peardoc/en/pecl/ps.xml:1.9 peardoc/en/pecl/ps.xml:1.10 --- peardoc/en/pecl/ps.xml:1.9 Fri May 14 07:09:13 2004 +++ peardoc/en/pecl/ps.xml Fri Jun 4 03:00:18 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- Author: Uwe Steinmann <steinm@php.net> --> <reference id="pecl.ps"> <title>PostScript document creation</title> @@ -997,7 +997,7 @@ <paramdef>resource <parameter>psdoc</parameter></paramdef> <paramdef>string <parameter>fontname</parameter></paramdef> <paramdef>string <parameter>encoding</parameter></paramdef> - <paramdef>int <parameter>embed</parameter></paramdef> + <paramdef>bool <parameter>embed</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -1077,7 +1077,7 @@ <funcdef>string <function>ps_get_parameter</function></funcdef> <paramdef>resource <parameter>psdoc</parameter></paramdef> <paramdef>string<parameter>name</parameter></paramdef> - <paramdef>float <parameter>modifier</parameter></paramdef> + <paramdef>float <parameter><optional>modifier</optional></parameter></paramdef> </funcprototype> </funcsynopsis> @@ -1111,7 +1111,7 @@ <funcdef>float <function>ps_get_value</function></funcdef> <paramdef>resource <parameter>psdoc</parameter></paramdef> <paramdef>string <parameter>name</parameter></paramdef> - <paramdef>float <parameter>modifier</parameter></paramdef> + <paramdef>float <parameter><optional>modifier</optional></parameter></paramdef> </funcprototype> </funcsynopsis> http://cvs.php.net/diff.php/peardoc/en/pecl/paradox.xml?r1=1.6&r2=1.7&ty=u Index: peardoc/en/pecl/paradox.xml diff -u peardoc/en/pecl/paradox.xml:1.6 peardoc/en/pecl/paradox.xml:1.7 --- peardoc/en/pecl/paradox.xml:1.6 Tue Apr 27 04:05:04 2004 +++ peardoc/en/pecl/paradox.xml Fri Jun 4 03:00:18 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- Author: Uwe Steinmann <steinm@php.net> --> <reference id="pecl.paradox"> <title>Paradox File Access</title> @@ -197,7 +197,7 @@ <sect2 id="pecl.paradox.configuration"> <title>Configuration</title> - <para> + <para>There is currently no need to configure the extension. </para> </sect2> @@ -418,13 +418,15 @@ </funcsynopsis> <para> Create a new paradox database file. The actual file has to - be opened before with fopen(). The first parameter is the return - value of px_new(). <option>fielddesc</option> is an array containing - one element for each field containing is specification. Each field + be opened before with <function>fopen</function>. Make sure + the file is writable. The first + parameter is the return value of <function>px_new</function>. + <option>fielddesc</option> is an array containing + one element for each field containing its specification. Each field specification is an array itself with either two or three elements. - The first element is always a string values used as the name of field. + The first element is always a string value used as the name of the field. It may not be larger than ten characters. The second element contains - the field type which is one of the constants listed in table <link + the field type which is one of the constants listed in the table <link linkend="pecl.paradox.table-fieldtypes">Constants for field types</link>. In the case of a character field, you will have to provide a third element specifying @@ -434,7 +436,8 @@ <para>This function is highly experimental, due to insufficient documentation of the paradox file format. Database files created with this function can be opened by <function>px_open_fp</function> - but probably cannot be opened by the Paradox software.</para> + and has been successfully opened by the Paradox software, but your + milage may vary.</para> </note> <para> <example> @@ -473,7 +476,7 @@ <refentry id="pecl.paradox.px-close"> <refnamediv> <refname>px_close</refname> - <refpurpose>Close a paradox database</refpurpose> + <refpurpose>Closes a paradox database</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -484,7 +487,7 @@ </funcprototype> </funcsynopsis> <para> - Close the paradox file. This function will not close the file. You will + Closes the paradox database. This function will not close the file. You will have to call <function>fclose</function> afterwards. </para> <para> @@ -516,7 +519,7 @@ <refentry id="pecl.paradox.px-get-record"> <refnamediv> <refname>px_get_record</refname> - <refpurpose>Returns record in paradox database</refpurpose> + <refpurpose>Returns record of paradox database</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -529,7 +532,7 @@ </funcprototype> </funcsynopsis> <para> - Returns the num'th record from the paradox database. The record is + Returns the <option>num</option>'th record from the paradox database. The record is returned as an associated array with its keys being the field names. <parameter>mode</parameter> can be PX_KEYTOLOWER or PX_KEYTOUPPER in order to convert the keys into lower or upper case. If @@ -655,7 +658,8 @@ </funcprototype> </funcsynopsis> <para> - Returns the specification of the fieldno'th database field as an associated + Returns the specification of the <option>fieldno</option>'th database + field as an associated array. The array contains three fields named 'name', 'type' and 'size'. </para> </refsect1> @@ -676,11 +680,11 @@ </funcprototype> </funcsynopsis> <para> - Set the encoding data retrieved from character fields. All character + Set the encoding for data retrieved from a character field. All character fields will be recoded to the encoding set by this function. If the encoding is not set, the character data will be returned in the DOS code page encoding as - specified in the database. Returns FALSE if encoding could not be set, + specified in the database. Returns FALSE if the encoding could not be set, e.g. the encoding is unknown, or pxlib does not support recoding at all. In the second case a warning will be issued. </para> @@ -720,9 +724,8 @@ <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>The encoding for the output. Data which is being read from + character fields is being recode into the targetencoding. </para> </listitem> </varlistentry> @@ -770,9 +773,8 @@ <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>The encoding for the output. Data which is being read from + character fields is being recode into the targetencoding. </para> </listitem> </varlistentry> @@ -811,7 +813,7 @@ <term>numprimkeys</term> <listitem> <para>The number of primary keys. Paradox databases always use the - first 'numprimkeys' fields for the primary index.</para> + first <option>numprimkeys</option> fields for the primary index.</para> </listitem> </varlistentry> </variablelist>

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