cvs: phpdoc /en/reference/ingres-ii book.xml constants.xml examples.xml reference.xml setup.xml
| From: | Hannes Magnusson | Date: | Sun, 23 Dec 2007 18:42:15 +0000 |
| Subject: | cvs: phpdoc /en/reference/ingres-ii book.xml constants.xml examples.xml reference.xml setup.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-762@lists.php.net to get a copy of this message | ||
bjori Sun Dec 23 18:42:15 2007 UTC
Modified files:
/phpdoc/en/reference/ingres-ii book.xml examples.xml setup.xml
constants.xml reference.xml
Log:
MFB: Upgrade to the new-reference-structure
- (Created missing setup sections in setup.xml, if any)
- Moved the intro to book.xml
- Changed the intro ID from <extname>.intro to intro.<extname>
- Moved the constants entity to book.xml
- Changed constants.xml to be an appendix
- Moved the examples into its own chapter (examples.xml)
NOTE: The "ingres.examples" ID was renamed to ingres.examples-basic and the example
chapter uses the 'ingres.examples' ID now
- Moved the requirements and resources sections to setup.xml
- Moved the configure entity to setup.xml
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ingres-ii/book.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/ingres-ii/book.xml diff -u /dev/null phpdoc/en/reference/ingres-ii/book.xml:1.2 --- /dev/null Sun Dec 23 18:42:15 2007 +++ phpdoc/en/reference/ingres-ii/book.xml Sun Dec 23 18:42:15 2007 @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> +<!-- Purpose: database.vendors --> +<!-- Membership: pecl, external --> + +<book xml:id="book.ingres" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>Ingres II</title> + + <!-- {{{ preface --> + <preface xml:id="intro.ingres"> + &reftitle.intro; + <para> + These functions allow you to access Ingres II database servers. + </para> + <note> + <para> + If you already used PHP extensions to access other database + servers, note that Ingres doesn't allow concurrent queries and/or + transaction over one connection, thus you won't find any result + or transaction handle in this extension. The result of a query + must be treated before sending another query, and a transaction + must be committed or rolled back before opening another + transaction (which is automatically done when sending the first + query). + </para> + </note> + </preface> + <!-- }}} --> + + &reference.ingres-ii.setup; + &reference.ingres-ii.constants; + &reference.ingres-ii.examples; + &reference.ingres-ii.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/ingres-ii/examples.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/ingres-ii/examples.xml diff -u /dev/null phpdoc/en/reference/ingres-ii/examples.xml:1.2 --- /dev/null Sun Dec 23 18:42:15 2007 +++ phpdoc/en/reference/ingres-ii/examples.xml Sun Dec 23 18:42:15 2007 @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.2 $ --> + +<chapter xml:id="ingres.examples" xmlns="http://docbook.org/ns/docbook"> + &reftitle.examples; + <section xml:id="ingres.examples-basic"> + <para> + This simple example shows how to connect, execute a query, print + resulting rows and disconnect from an Ingres database. + <example> + <title>Simple Ingres Example</title> + <programlisting role="php"> +<![CDATA[ +<?php +// Connecting, selecting database +$link = ingres_connect('database', 'user', 'password') + or die('Could not connect: ' . ingres_error($link)); +echo 'Connected successfully'; + +// Select from a table that exists in all Ingres databases +$query = 'SELECT * FROM iirelation'; +$returncode = ingres_query($query,$link) or die('Query failed: ' . +ingres_error($link)); + +// Print results in HTML +// relid - table name +// relowner - table owner +echo "<table>\n"; +while ($iirelation = ingres_fetch_object(INGRES_BOTH, $link)) { + echo "\t<tr>\n"; + echo "\t\t<td>" . $iirelation->relid . "</td>\n"; + echo "\t\t<td>" . $iirelation->relowner . "</td>\n"; + echo "\t</tr>\n"; +} +echo "</table>\n"; + +// Commit transaction +ingres_commit($link); +// Closing connection +ingres_close($link); +?> +]]> + </programlisting> + </example> + </para> + </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/ingres-ii/setup.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/ingres-ii/setup.xml diff -u /dev/null phpdoc/en/reference/ingres-ii/setup.xml:1.2 --- /dev/null Sun Dec 23 18:42:15 2007 +++ phpdoc/en/reference/ingres-ii/setup.xml Sun Dec 23 18:42:15 2007 @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> + +<chapter xml:id="ingres.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.setup; + + <!-- {{{ Requirements --> + <section xml:id="ingres.requirements"> + &reftitle.required; + <para> + To compile PHP with Ingres support, you need the Ingres OpenAPI library + and header files. + </para> + </section> + <!-- }}} --> + + <!-- {{{ Installation --> + &reference.ingres-ii.configure; + <!-- }}} --> + + <!-- {{{ Configuration --> + &reference.ingres-ii.ini; + <!-- }}} --> + + <!-- {{{ Resources --> + <section xml:id="ingres.resources"> + &reftitle.resources; + <para> + <function>ingres_connect</function> and + <function>ingres_pconnect</function> return an Ingres II link identifier. + </para> + </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/ingres-ii/constants.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/ingres-ii/constants.xml diff -u phpdoc/en/reference/ingres-ii/constants.xml:1.11 phpdoc/en/reference/ingres-ii/constants.xml:1.12 --- phpdoc/en/reference/ingres-ii/constants.xml:1.11 Wed Jun 20 22:24:48 2007 +++ phpdoc/en/reference/ingres-ii/constants.xml Sun Dec 23 18:42:15 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<section xml:id="ingres.constants" xmlns="http://docbook.org/ns/docbook"> +<!-- $Revision: 1.12 $ --> +<appendix xml:id="ingres.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; <variablelist> @@ -301,7 +301,7 @@ </listitem> </varlistentry> </variablelist> -</section> +</appendix> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ingres-ii/reference.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc/en/reference/ingres-ii/reference.xml diff -u phpdoc/en/reference/ingres-ii/reference.xml:1.14 phpdoc/en/reference/ingres-ii/reference.xml:1.15 --- phpdoc/en/reference/ingres-ii/reference.xml:1.14 Mon Dec 10 17:06:04 2007 +++ phpdoc/en/reference/ingres-ii/reference.xml Sun Dec 23 18:42:15 2007 @@ -1,97 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- Purpose: database.vendors --> -<!-- Membership: pecl, external --> +<!-- $Revision: 1.15 $ --> <reference xml:id="ref.ingres" xmlns="http://docbook.org/ns/docbook"> - <title>Ingres II Functions</title> - <titleabbrev>Ingres II</titleabbrev> - - <partintro> - <section xml:id="ingres.intro"> - &reftitle.intro; - <para> - These functions allow you to access Ingres II database servers. - </para> - <note> - <para> - If you already used PHP extensions to access other database - servers, note that Ingres doesn't allow concurrent queries and/or - transaction over one connection, thus you won't find any result - or transaction handle in this extension. The result of a query - must be treated before sending another query, and a transaction - must be committed or rolled back before opening another - transaction (which is automatically done when sending the first - query). - </para> - </note> - </section> - - <section xml:id="ingres.requirements"> - &reftitle.required; - <para> - To compile PHP with Ingres support, you need the Ingres OpenAPI library - and header files. - </para> - </section> - - &reference.ingres-ii.configure; - - &reference.ingres-ii.ini; - - <section xml:id="ingres.resources"> - &reftitle.resources; - <para> - <function>ingres_connect</function> and - <function>ingres_pconnect</function> return an Ingres II link identifier. - </para> - </section> - - &reference.ingres-ii.constants; - - <section xml:id="ingres.examples"> - &reftitle.examples; - <para> - This simple example shows how to connect, execute a query, print - resulting rows and disconnect from an Ingres database. - <example> - <title>Simple Ingres Example</title> - <programlisting role="php"> -<![CDATA[ -<?php -// Connecting, selecting database -$link = ingres_connect('database', 'user', 'password') - or die('Could not connect: ' . ingres_error($link)); -echo 'Connected successfully'; - -// Select from a table that exists in all Ingres databases -$query = 'SELECT * FROM iirelation'; -$returncode = ingres_query($query,$link) or die('Query failed: ' . -ingres_error($link)); - -// Print results in HTML -// relid - table name -// relowner - table owner -echo "<table>\n"; -while ($iirelation = ingres_fetch_object(INGRES_BOTH, $link)) { - echo "\t<tr>\n"; - echo "\t\t<td>" . $iirelation->relid . "</td>\n"; - echo "\t\t<td>" . $iirelation->relowner . "</td>\n"; - echo "\t</tr>\n"; -} -echo "</table>\n"; - -// Commit transaction -ingres_commit($link); -// Closing connection -ingres_close($link); -?> -]]> - </programlisting> - </example> - </para> - </section> - </partintro> + <title>Ingres II &Functions;</title> &reference.ingres-ii.entities.functions;
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ingres-ii/book.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/ingres-ii/book.xml diff -u /dev/null phpdoc/en/reference/ingres-ii/book.xml:1.2 --- /dev/null Sun Dec 23 18:42:15 2007 +++ phpdoc/en/reference/ingres-ii/book.xml Sun Dec 23 18:42:15 2007 @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> +<!-- Purpose: database.vendors --> +<!-- Membership: pecl, external --> + +<book xml:id="book.ingres" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>Ingres II</title> + + <!-- {{{ preface --> + <preface xml:id="intro.ingres"> + &reftitle.intro; + <para> + These functions allow you to access Ingres II database servers. + </para> + <note> + <para> + If you already used PHP extensions to access other database + servers, note that Ingres doesn't allow concurrent queries and/or + transaction over one connection, thus you won't find any result + or transaction handle in this extension. The result of a query + must be treated before sending another query, and a transaction + must be committed or rolled back before opening another + transaction (which is automatically done when sending the first + query). + </para> + </note> + </preface> + <!-- }}} --> + + &reference.ingres-ii.setup; + &reference.ingres-ii.constants; + &reference.ingres-ii.examples; + &reference.ingres-ii.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/ingres-ii/examples.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/ingres-ii/examples.xml diff -u /dev/null phpdoc/en/reference/ingres-ii/examples.xml:1.2 --- /dev/null Sun Dec 23 18:42:15 2007 +++ phpdoc/en/reference/ingres-ii/examples.xml Sun Dec 23 18:42:15 2007 @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.2 $ --> + +<chapter xml:id="ingres.examples" xmlns="http://docbook.org/ns/docbook"> + &reftitle.examples; + <section xml:id="ingres.examples-basic"> + <para> + This simple example shows how to connect, execute a query, print + resulting rows and disconnect from an Ingres database. + <example> + <title>Simple Ingres Example</title> + <programlisting role="php"> +<![CDATA[ +<?php +// Connecting, selecting database +$link = ingres_connect('database', 'user', 'password') + or die('Could not connect: ' . ingres_error($link)); +echo 'Connected successfully'; + +// Select from a table that exists in all Ingres databases +$query = 'SELECT * FROM iirelation'; +$returncode = ingres_query($query,$link) or die('Query failed: ' . +ingres_error($link)); + +// Print results in HTML +// relid - table name +// relowner - table owner +echo "<table>\n"; +while ($iirelation = ingres_fetch_object(INGRES_BOTH, $link)) { + echo "\t<tr>\n"; + echo "\t\t<td>" . $iirelation->relid . "</td>\n"; + echo "\t\t<td>" . $iirelation->relowner . "</td>\n"; + echo "\t</tr>\n"; +} +echo "</table>\n"; + +// Commit transaction +ingres_commit($link); +// Closing connection +ingres_close($link); +?> +]]> + </programlisting> + </example> + </para> + </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/ingres-ii/setup.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/ingres-ii/setup.xml diff -u /dev/null phpdoc/en/reference/ingres-ii/setup.xml:1.2 --- /dev/null Sun Dec 23 18:42:15 2007 +++ phpdoc/en/reference/ingres-ii/setup.xml Sun Dec 23 18:42:15 2007 @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> + +<chapter xml:id="ingres.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.setup; + + <!-- {{{ Requirements --> + <section xml:id="ingres.requirements"> + &reftitle.required; + <para> + To compile PHP with Ingres support, you need the Ingres OpenAPI library + and header files. + </para> + </section> + <!-- }}} --> + + <!-- {{{ Installation --> + &reference.ingres-ii.configure; + <!-- }}} --> + + <!-- {{{ Configuration --> + &reference.ingres-ii.ini; + <!-- }}} --> + + <!-- {{{ Resources --> + <section xml:id="ingres.resources"> + &reftitle.resources; + <para> + <function>ingres_connect</function> and + <function>ingres_pconnect</function> return an Ingres II link identifier. + </para> + </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/ingres-ii/constants.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/ingres-ii/constants.xml diff -u phpdoc/en/reference/ingres-ii/constants.xml:1.11 phpdoc/en/reference/ingres-ii/constants.xml:1.12 --- phpdoc/en/reference/ingres-ii/constants.xml:1.11 Wed Jun 20 22:24:48 2007 +++ phpdoc/en/reference/ingres-ii/constants.xml Sun Dec 23 18:42:15 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<section xml:id="ingres.constants" xmlns="http://docbook.org/ns/docbook"> +<!-- $Revision: 1.12 $ --> +<appendix xml:id="ingres.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; <variablelist> @@ -301,7 +301,7 @@ </listitem> </varlistentry> </variablelist> -</section> +</appendix> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ingres-ii/reference.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc/en/reference/ingres-ii/reference.xml diff -u phpdoc/en/reference/ingres-ii/reference.xml:1.14 phpdoc/en/reference/ingres-ii/reference.xml:1.15 --- phpdoc/en/reference/ingres-ii/reference.xml:1.14 Mon Dec 10 17:06:04 2007 +++ phpdoc/en/reference/ingres-ii/reference.xml Sun Dec 23 18:42:15 2007 @@ -1,97 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- Purpose: database.vendors --> -<!-- Membership: pecl, external --> +<!-- $Revision: 1.15 $ --> <reference xml:id="ref.ingres" xmlns="http://docbook.org/ns/docbook"> - <title>Ingres II Functions</title> - <titleabbrev>Ingres II</titleabbrev> - - <partintro> - <section xml:id="ingres.intro"> - &reftitle.intro; - <para> - These functions allow you to access Ingres II database servers. - </para> - <note> - <para> - If you already used PHP extensions to access other database - servers, note that Ingres doesn't allow concurrent queries and/or - transaction over one connection, thus you won't find any result - or transaction handle in this extension. The result of a query - must be treated before sending another query, and a transaction - must be committed or rolled back before opening another - transaction (which is automatically done when sending the first - query). - </para> - </note> - </section> - - <section xml:id="ingres.requirements"> - &reftitle.required; - <para> - To compile PHP with Ingres support, you need the Ingres OpenAPI library - and header files. - </para> - </section> - - &reference.ingres-ii.configure; - - &reference.ingres-ii.ini; - - <section xml:id="ingres.resources"> - &reftitle.resources; - <para> - <function>ingres_connect</function> and - <function>ingres_pconnect</function> return an Ingres II link identifier. - </para> - </section> - - &reference.ingres-ii.constants; - - <section xml:id="ingres.examples"> - &reftitle.examples; - <para> - This simple example shows how to connect, execute a query, print - resulting rows and disconnect from an Ingres database. - <example> - <title>Simple Ingres Example</title> - <programlisting role="php"> -<![CDATA[ -<?php -// Connecting, selecting database -$link = ingres_connect('database', 'user', 'password') - or die('Could not connect: ' . ingres_error($link)); -echo 'Connected successfully'; - -// Select from a table that exists in all Ingres databases -$query = 'SELECT * FROM iirelation'; -$returncode = ingres_query($query,$link) or die('Query failed: ' . -ingres_error($link)); - -// Print results in HTML -// relid - table name -// relowner - table owner -echo "<table>\n"; -while ($iirelation = ingres_fetch_object(INGRES_BOTH, $link)) { - echo "\t<tr>\n"; - echo "\t\t<td>" . $iirelation->relid . "</td>\n"; - echo "\t\t<td>" . $iirelation->relowner . "</td>\n"; - echo "\t</tr>\n"; -} -echo "</table>\n"; - -// Commit transaction -ingres_commit($link); -// Closing connection -ingres_close($link); -?> -]]> - </programlisting> - </example> - </para> - </section> - </partintro> + <title>Ingres II &Functions;</title> &reference.ingres-ii.entities.functions;