cvs: phpdoc /en/reference/paradox/functions px-get-record.xml

From: Date: Fri, 31 Mar 2006 07:06:14 +0000
Subject: cvs: phpdoc /en/reference/paradox/functions px-get-record.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969372546@lists.php.net to get a copy of this message
steinm Fri Mar 31 07:06:14 2006 UTC Modified files: /phpdoc/en/reference/paradox/functions px-get-record.xml Log: - added more info about how to treat timestamps and dates http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/paradox/functions/px-get-record.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/reference/paradox/functions/px-get-record.xml diff -u phpdoc/en/reference/paradox/functions/px-get-record.xml:1.4 phpdoc/en/reference/paradox/functions/px-get-record.xml:1.5 --- phpdoc/en/reference/paradox/functions/px-get-record.xml:1.4 Wed Feb 8 06:32:29 2006 +++ phpdoc/en/reference/paradox/functions/px-get-record.xml Fri Mar 31 07:06:14 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/paradox.xml, last change in rev --> <refentry id="function.px-get-record"> <refnamediv> @@ -45,14 +45,21 @@ <para> The optional <parameter>mode</parameter> can be <constant>PX_KEYTOLOWER</constant> or <constant>PX_KEYTOUPPER</constant> - in order to convert the keys into lower or upper case. If + in order to convert the keys of the returned array into lower or + upper case. If <parameter>mode</parameter> is not passed or is 0, then the key will be 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. Fields of type <constant>PX_FIELD_TIME</constant> will be returned as an integer counting the number of milliseconds - starting at midnight. A timestamp is a floating point value also - counting milliseconds starting at the beginning of julian calendar. + starting at midnight. A timestamp + (<constant>PX_FIELD_TIMESTAMP</constant>) and date + (<constant>PX_FIELD_DATE</constant>) are floating point respectively + int values counting milliseconds respectively days starting + at the beginning of julian calendar. + Use the functions <function>px-timestamp2string</function> and + <function>px-date2string</function> to convert them into a character + representation. </para> </listitem> </varlistentry>

« previous php.doc (#969372546) next »