For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > March 2006 > cvs: phpdoc /en/reference/paradox/functions px-get-record.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

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

2006-03-31, 3:58 am

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/phpd...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>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com