cvs: phpdoc /en/reference/dbase book.xml constants.xml reference.xml setup.xml

From: Date: Sun, 16 Dec 2007 11:42:41 +0000
Subject: cvs: phpdoc /en/reference/dbase book.xml constants.xml reference.xml setup.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-655@lists.php.net to get a copy of this message
bjori Sun Dec 16 11:42:41 2007 UTC Modified files: /phpdoc/en/reference/dbase book.xml constants.xml setup.xml reference.xml Log: MFB: Upgrade to the new-reference-structure - Moved the intro from reference.xml to book.xml - Change the intro ID to intro.<extname> - Moved the setup sections to setup.xml - Added empty constants <appendix> NOTE: Renamed the "dbase example note" ID (in reference.xml) to dbase.examples.note

http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/dbase/book.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/dbase/book.xml diff -u /dev/null phpdoc/en/reference/dbase/book.xml:1.2 --- /dev/null Sun Dec 16 11:42:41 2007 +++ phpdoc/en/reference/dbase/book.xml Sun Dec 16 11:42:40 2007 @@ -0,0 +1,125 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> +<!-- Purpose: database.vendors --> +<!-- Membership: bundled, external --> + +<book xml:id="book.dbase" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>dBase</title> + + <!-- {{{ preface --> + <preface xml:id="intro.dbase"> + &reftitle.intro; + <para> + These functions allow you to access records stored in dBase-format + (dbf) databases. + </para> + <para> + dBase files are simple sequential files of fixed length records. + Records are appended to the end of the file and delete records are + kept until you call <function>dbase_pack</function>. + </para> + <para> + The types of dBase fields available are: + <table> + <title>Available types of fields</title> + <tgroup cols="3"> + <thead> + <row> + <entry>Field</entry> + <entry>dBase Type</entry> + <entry>Format</entry> + <entry>Additional information</entry> + </row> + </thead> + <tbody> + <row> + <entry><literal>M</literal></entry> + <entry>Memo</entry> + <entry>n/a</entry> + <entry>This type is not supported by PHP, such field will be ignored</entry> + </row> + <row> + <entry><literal>D</literal></entry> + <entry>Date</entry> + <entry><literal>YYYYMMDD</literal></entry> + <entry>The field length is limited to 8</entry> + </row> + <row> + <entry><literal>N</literal></entry> + <entry>Number</entry> + <entry>A number</entry> + <entry> + You must declare a length and a precision (the number of digits + after the decimal point) + </entry> + </row> + <row> + <entry><literal>C</literal></entry> + <entry>String</entry> + <entry>A string</entry> + <entry>You must declare a length. When retrieving data, the string + will be right-padded with spaces to fit the declared length.</entry> + </row> + <row> + <entry><literal>L</literal></entry> + <entry>Boolean</entry> + <entry><literal>T</literal> or <literal>Y</literal> for &true;, + <literal>F</literal> or <literal>N</literal> for &false;</entry> + <entry>Stored and returned as an integer (1 or 0)</entry> + </row> + <row> + <entry><literal>F</literal></entry> + <entry>Float</entry> + <entry>A float number</entry> + <entry>Support for this type of field was added in PHP 5.2.0</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + <warning> + <para> + There is no support for indexes or memo fields. There is no + support for locking, too. Two concurrent web server processes + modifying the same dBase file will very likely ruin your database. + </para> + <para> + We recommend that you do not use dBase files as your production + database. Choose any real SQL server instead; <link + xlink:href="&url.mysql;">MySQL</link> or <link xlink:href="&url.pgsql;">Postgres</link> + are common choices with PHP. dBase support is here to allow you to + import and export data to and from your web database, because the + file format is commonly understood by Windows spreadsheets and + organizers. + </para> + </warning> + </preface> + <!-- }}} --> + + &reference.dbase.setup; + &reference.dbase.constants; + &reference.dbase.reference; + +</book> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/dbase/constants.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/dbase/constants.xml diff -u /dev/null phpdoc/en/reference/dbase/constants.xml:1.2 --- /dev/null Sun Dec 16 11:42:41 2007 +++ phpdoc/en/reference/dbase/constants.xml Sun Dec 16 11:42:40 2007 @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> + +<appendix xml:id="dbase.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.constants; + &no.constants; +</appendix> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/dbase/setup.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/dbase/setup.xml diff -u /dev/null phpdoc/en/reference/dbase/setup.xml:1.2 --- /dev/null Sun Dec 16 11:42:41 2007 +++ phpdoc/en/reference/dbase/setup.xml Sun Dec 16 11:42:40 2007 @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> + +<chapter xml:id="dbase.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.setup; + + <!-- {{{ Requirements --> + <section xml:id="dbase.requirements"> + &reftitle.required; + &no.requirement; + </section> + <!-- }}} --> + + <!-- {{{ Installation --> + &reference.dbase.configure; + <!-- }}} --> + + <!-- {{{ Configuration --> + <section xml:id="dbase.configuration"> + &reftitle.runtime; + &no.config; + </section> + <!-- }}} --> + + <!-- {{{ Resources --> + <section xml:id="dbase.resources"> + &reftitle.resources; + &no.resource; + </section> + <!-- }}} --> + +</chapter> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/dbase/reference.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc/en/reference/dbase/reference.xml diff -u phpdoc/en/reference/dbase/reference.xml:1.12 phpdoc/en/reference/dbase/reference.xml:1.13 --- phpdoc/en/reference/dbase/reference.xml:1.12 Mon Dec 10 17:06:02 2007 +++ phpdoc/en/reference/dbase/reference.xml Sun Dec 16 11:42:40 2007 @@ -1,114 +1,11 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- Purpose: database.vendors --> -<!-- Membership: bundled, external --> +<!-- $Revision: 1.13 $ --> <reference xml:id="ref.dbase" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>dBase Functions</title> - <titleabbrev>dBase</titleabbrev> + <title>dBase &Functions;</title> <partintro> - <section xml:id="dbase.intro"> - &reftitle.intro; - <para> - These functions allow you to access records stored in dBase-format - (dbf) databases. - </para> - <para> - dBase files are simple sequential files of fixed length records. - Records are appended to the end of the file and delete records are - kept until you call <function>dbase_pack</function>. - </para> - <para> - The types of dBase fields available are: - <table> - <title>Available types of fields</title> - <tgroup cols="3"> - <thead> - <row> - <entry>Field</entry> - <entry>dBase Type</entry> - <entry>Format</entry> - <entry>Additional information</entry> - </row> - </thead> - <tbody> - <row> - <entry><literal>M</literal></entry> - <entry>Memo</entry> - <entry>n/a</entry> - <entry>This type is not supported by PHP, such field will be ignored</entry> - </row> - <row> - <entry><literal>D</literal></entry> - <entry>Date</entry> - <entry><literal>YYYYMMDD</literal></entry> - <entry>The field length is limited to 8</entry> - </row> - <row> - <entry><literal>N</literal></entry> - <entry>Number</entry> - <entry>A number</entry> - <entry> - You must declare a length and a precision (the number of digits - after the decimal point) - </entry> - </row> - <row> - <entry><literal>C</literal></entry> - <entry>String</entry> - <entry>A string</entry> - <entry>You must declare a length. When retrieving data, the string - will be right-padded with spaces to fit the declared length.</entry> - </row> - <row> - <entry><literal>L</literal></entry> - <entry>Boolean</entry> - <entry><literal>T</literal> or <literal>Y</literal> for &true;, - <literal>F</literal> or <literal>N</literal> for &false;</entry> - <entry>Stored and returned as an integer (1 or 0)</entry> - </row> - <row> - <entry><literal>F</literal></entry> - <entry>Float</entry> - <entry>A float number</entry> - <entry>Support for this type of field was added in PHP 5.2.0</entry> - </row> - </tbody> - </tgroup> - </table> - </para> - <warning> - <para> - There is no support for indexes or memo fields. There is no - support for locking, too. Two concurrent web server processes - modifying the same dBase file will very likely ruin your database. - </para> - <para> - We recommend that you do not use dBase files as your production - database. Choose any real SQL server instead; <link - xlink:href="&url.mysql;">MySQL</link> or <link xlink:href="&url.pgsql;">Postgres</link> - are common choices with PHP. dBase support is here to allow you to - import and export data to and from your web database, because the - file format is commonly understood by Windows spreadsheets and - organizers. - </para> - </warning> - </section> - - &reference.dbase.configure; - - <section xml:id="dbase.runtime"> - &reftitle.runtime; - &no.config; - </section> - - <section xml:id="dbase.resources"> - &reftitle.resources; - &no.resource; - </section> - - <section xml:id="dbase.examples"> + <section xml:id="dbase.examples.note"> &reftitle.examples; <para> Many examples in this reference require a dBase database. We will use @@ -117,11 +14,6 @@ </para> </section> - <section xml:id="dbase.constants"> - &reftitle.constants; - &no.constants; - </section> - </partintro> &reference.dbase.entities.functions;
« previous php.doc.cvs (#655) next »