For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > March 2006 > cvs: phpdoc /en/reference/paradox/functions px-get-schema.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-schema.xml
Uwe Steinmann

2006-03-31, 3:58 am

steinm Fri Mar 31 07:04:06 2006 UTC

Modified files:
/phpdoc/en/reference/paradox/functions px-get-schema.xml
Log:
- note about how the field sizes sum up to the record size

http://cvs.php.net/viewcvs.cgi/phpd...4&diff_format=u
Index: phpdoc/en/reference/paradox/functions/px-get-schema.xml
diff -u phpdoc/en/reference/paradox/functions/px-get-schema.xml:1.3 phpdoc/en/reference/paradox/functions/px-get-schema.xml:1.4
--- phpdoc/en/reference/paradox/functions/px-get-schema.xml:1.3 Wed Feb 8 06:32:06 2006
+++ phpdoc/en/reference/paradox/functions/px-get-schema.xml Fri Mar 31 07:04:06 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/paradox.xml, last change in rev -->
<refentry id="function.px-get-schema">
<refnamediv>
@@ -38,7 +38,8 @@
<para>
If the optional <parameter>mode</parameter> is
<constant>PX_KEYTOLOWER</constant> or
- <constant>PX_KEYTOUPPER</constant> the key will be converted to lower
+ <constant>PX_KEYTOUPPER</constant> the keys of the returned array
+ will be converted to lower
or upper case. If <parameter>mode</parameter> is 0 or not passed at all,
then the key name will be identical to the field name.
</para>
@@ -55,7 +56,10 @@
is equal to the field name. Each array element is itself an associated
array containing the two fields <literal>type</literal> and
<literal>size</literal>. <literal>type</literal> is one of the constants in
- table <link linkend="paradox.table-fieldtypes">Constants for field types</link>.
+ table <link linkend="paradox.table-fieldtypes">Constants for field
+ types</link>. <literal>size</literal> is the number of bytes this field
+ consumes in the record. The total of all field sizes is equal to the
+ record size as it can be retrieved with <function>px-get-info</function>.
</para>
</refsect1>

Sponsored Links







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

Copyright 2008 codecomments.com