cvs: phpdoc /en/reference/outcontrol book.xml constants.xml examples.xml reference.xml setup.xml
| From: | Philip Olson | Date: | Sun, 23 Dec 2007 18:16:26 +0000 |
| Subject: | cvs: phpdoc /en/reference/outcontrol book.xml constants.xml examples.xml reference.xml setup.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-748@lists.php.net to get a copy of this message | ||
philip Sun Dec 23 18:16:26 2007 UTC
Modified files:
/phpdoc/en/reference/outcontrol book.xml setup.xml constants.xml
examples.xml reference.xml
Log:
MFB: Upgrade to the new-reference-structure
- Split reference.xml into book.xml, setup.xml, constants.xml, and examples.xml
- Moved from reference.xml to book.xml:
- The intro text (partintro), and link to various pages
- Moved from reference.xml to setup.xml:
- The setups: requirements, installation, configuration, and resources
- Moved from reference.xml to constants.xml: the constants info
- Moved from reference.xml to examples.xml: the examples
- Changed See Also in reference.xml from section to partintro
- Changed the intro ID from <extname>.intro to intro.<extname>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/outcontrol/book.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/outcontrol/book.xml diff -u /dev/null phpdoc/en/reference/outcontrol/book.xml:1.2 --- /dev/null Sun Dec 23 18:16:26 2007 +++ phpdoc/en/reference/outcontrol/book.xml Sun Dec 23 18:16:26 2007 @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.2 $ --> +<!-- Purpose: basic.php --> +<!-- Membership: core --> + +<book xml:id="book.outcontrol" xmlns="http://docbook.org/ns/docbook"> + <title>Output Control</title> + + <preface xml:id="intro.outcontrol"> + &reftitle.intro; + <para> + The Output Control functions allow you to control when output is + sent from the script. This can be useful in several different + situations, especially if you need to send headers to the browser + after your script has began outputting data. The Output Control + functions do not affect headers sent using + <function>header</function> or <function>setcookie</function>, + only functions such as <function>echo</function> and data between + blocks of PHP code. + </para> + <note> + <para> + When upgrading from PHP 4.1.x (and 4.2.x) to 4.3.x due to a bug in + earlier versions you must ensure that + <literal>implict_flush</literal> is <literal>OFF</literal> in + your &php.ini;, otherwise any output with + <function>ob_start</function> will not be hidden from output. + </para> + </note> + </preface> + + &reference.outcontrol.setup; + &reference.outcontrol.constants; + &reference.outcontrol.examples; + &reference.outcontrol.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/outcontrol/setup.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/outcontrol/setup.xml diff -u /dev/null phpdoc/en/reference/outcontrol/setup.xml:1.2 --- /dev/null Sun Dec 23 18:16:26 2007 +++ phpdoc/en/reference/outcontrol/setup.xml Sun Dec 23 18:16:26 2007 @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.2 $ --> +<chapter xml:id="outcontrol.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.setup; + + <section xml:id="outcontrol.requirements"> + &reftitle.required; + &no.requirement; + </section> + + <section xml:id="outcontrol.installation"> + &reftitle.install; + &no.install; + </section> + + &reference.outcontrol.ini; + + <section xml:id="outcontrol.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/outcontrol/constants.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/outcontrol/constants.xml diff -u /dev/null phpdoc/en/reference/outcontrol/constants.xml:1.2 --- /dev/null Sun Dec 23 18:16:26 2007 +++ phpdoc/en/reference/outcontrol/constants.xml Sun Dec 23 18:16:26 2007 @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.2 $ --> +<appendix xml:id="outcontrol.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/outcontrol/examples.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/outcontrol/examples.xml diff -u /dev/null phpdoc/en/reference/outcontrol/examples.xml:1.2 --- /dev/null Sun Dec 23 18:16:26 2007 +++ phpdoc/en/reference/outcontrol/examples.xml Sun Dec 23 18:16:26 2007 @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.2 $ --> +<appendix xml:id="outcontrol.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.examples; + <section xml:id="outcontrol.examples.basic"> + &reftitle.examples; + <para> + <example> + <title>Output Control example</title> + <programlisting role="php"> +<![CDATA[ +<?php + +ob_start(); +echo "Hello\n"; + +setcookie("cookiename", "cookiedata"); + +ob_end_flush(); + +?> +]]> + </programlisting> + </example> + </para> + <para> + In the above example, the output from <function>echo</function> + would be stored in the output buffer until + <function>ob_end_flush</function> was called. In the mean time, + the call to <function>setcookie</function> successfully stored a + cookie without causing an error. (You can not normally send + headers to the browser after data has already been sent.) + </para> + </section> +</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/outcontrol/reference.xml?r1=1.18&r2=1.19&diff_format=u Index: phpdoc/en/reference/outcontrol/reference.xml diff -u phpdoc/en/reference/outcontrol/reference.xml:1.18 phpdoc/en/reference/outcontrol/reference.xml:1.19 --- phpdoc/en/reference/outcontrol/reference.xml:1.18 Mon Dec 10 17:06:07 2007 +++ phpdoc/en/reference/outcontrol/reference.xml Sun Dec 23 18:16:26 2007 @@ -1,101 +1,19 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.18 $ --> -<!-- Purpose: basic.php --> -<!-- Membership: core --> +<reference xml:id="ref.outcontrol" xmlns="http://docbook.org/ns/docbook"> + <title>Output Control &Functions;</title> - <reference xml:id="ref.outcontrol" xmlns="http://docbook.org/ns/docbook"> - <title>Output Control Functions</title> - <titleabbrev>Output Control</titleabbrev> + <partintro> + &reftitle.seealso; + <para> + See also <function>header</function> and + <function>setcookie</function>. + </para> + </partintro> - <partintro> - <section xml:id="outcontrol.intro"> - &reftitle.intro; - <para> - The Output Control functions allow you to control when output is - sent from the script. This can be useful in several different - situations, especially if you need to send headers to the browser - after your script has began outputting data. The Output Control - functions do not affect headers sent using - <function>header</function> or <function>setcookie</function>, - only functions such as <function>echo</function> and data between - blocks of PHP code. - </para> - <note> - <para> - When upgrading from PHP 4.1.x (and 4.2.x) to 4.3.x due to a bug in - earlier versions you must ensure that - <literal>implict_flush</literal> is <literal>OFF</literal> in - your &php.ini;, otherwise any output with - <function>ob_start</function> will not be hidden from output. - </para> - </note> - </section> + &reference.outcontrol.entities.functions; - <section xml:id="outcontrol.requirements"> - &reftitle.required; - &no.requirement; - </section> +</reference> - <section xml:id="outcontrol.installation"> - &reftitle.install; - &no.install; - </section> - - &reference.outcontrol.ini; - - <section xml:id="outcontrol.resources"> - &reftitle.resources; - &no.resource; - </section> - - <section xml:id="outcontrol.constants"> - &reftitle.constants; - &no.constants; - </section> - - <section xml:id="outcontrol.examples"> - &reftitle.examples; - <para> - <example> - <title>Output Control example</title> - <programlisting role="php"> -<![CDATA[ -<?php - -ob_start(); -echo "Hello\n"; - -setcookie("cookiename", "cookiedata"); - -ob_end_flush(); - -?> -]]> - </programlisting> - </example> - </para> - <para> - In the above example, the output from <function>echo</function> - would be stored in the output buffer until - <function>ob_end_flush</function> was called. In the mean time, - the call to <function>setcookie</function> successfully stored a - cookie without causing an error. (You can not normally send - headers to the browser after data has already been sent.) - </para> - </section> - - <section xml:id="outcontrol.seealso"> - &reftitle.seealso; - <para> - See also <function>header</function> and - <function>setcookie</function>. - </para> - </section> - </partintro> - -&reference.outcontrol.entities.functions; - - </reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/outcontrol/book.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/outcontrol/book.xml diff -u /dev/null phpdoc/en/reference/outcontrol/book.xml:1.2 --- /dev/null Sun Dec 23 18:16:26 2007 +++ phpdoc/en/reference/outcontrol/book.xml Sun Dec 23 18:16:26 2007 @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.2 $ --> +<!-- Purpose: basic.php --> +<!-- Membership: core --> + +<book xml:id="book.outcontrol" xmlns="http://docbook.org/ns/docbook"> + <title>Output Control</title> + + <preface xml:id="intro.outcontrol"> + &reftitle.intro; + <para> + The Output Control functions allow you to control when output is + sent from the script. This can be useful in several different + situations, especially if you need to send headers to the browser + after your script has began outputting data. The Output Control + functions do not affect headers sent using + <function>header</function> or <function>setcookie</function>, + only functions such as <function>echo</function> and data between + blocks of PHP code. + </para> + <note> + <para> + When upgrading from PHP 4.1.x (and 4.2.x) to 4.3.x due to a bug in + earlier versions you must ensure that + <literal>implict_flush</literal> is <literal>OFF</literal> in + your &php.ini;, otherwise any output with + <function>ob_start</function> will not be hidden from output. + </para> + </note> + </preface> + + &reference.outcontrol.setup; + &reference.outcontrol.constants; + &reference.outcontrol.examples; + &reference.outcontrol.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/outcontrol/setup.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/outcontrol/setup.xml diff -u /dev/null phpdoc/en/reference/outcontrol/setup.xml:1.2 --- /dev/null Sun Dec 23 18:16:26 2007 +++ phpdoc/en/reference/outcontrol/setup.xml Sun Dec 23 18:16:26 2007 @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.2 $ --> +<chapter xml:id="outcontrol.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.setup; + + <section xml:id="outcontrol.requirements"> + &reftitle.required; + &no.requirement; + </section> + + <section xml:id="outcontrol.installation"> + &reftitle.install; + &no.install; + </section> + + &reference.outcontrol.ini; + + <section xml:id="outcontrol.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/outcontrol/constants.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/outcontrol/constants.xml diff -u /dev/null phpdoc/en/reference/outcontrol/constants.xml:1.2 --- /dev/null Sun Dec 23 18:16:26 2007 +++ phpdoc/en/reference/outcontrol/constants.xml Sun Dec 23 18:16:26 2007 @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.2 $ --> +<appendix xml:id="outcontrol.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/outcontrol/examples.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/outcontrol/examples.xml diff -u /dev/null phpdoc/en/reference/outcontrol/examples.xml:1.2 --- /dev/null Sun Dec 23 18:16:26 2007 +++ phpdoc/en/reference/outcontrol/examples.xml Sun Dec 23 18:16:26 2007 @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.2 $ --> +<appendix xml:id="outcontrol.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.examples; + <section xml:id="outcontrol.examples.basic"> + &reftitle.examples; + <para> + <example> + <title>Output Control example</title> + <programlisting role="php"> +<![CDATA[ +<?php + +ob_start(); +echo "Hello\n"; + +setcookie("cookiename", "cookiedata"); + +ob_end_flush(); + +?> +]]> + </programlisting> + </example> + </para> + <para> + In the above example, the output from <function>echo</function> + would be stored in the output buffer until + <function>ob_end_flush</function> was called. In the mean time, + the call to <function>setcookie</function> successfully stored a + cookie without causing an error. (You can not normally send + headers to the browser after data has already been sent.) + </para> + </section> +</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/outcontrol/reference.xml?r1=1.18&r2=1.19&diff_format=u Index: phpdoc/en/reference/outcontrol/reference.xml diff -u phpdoc/en/reference/outcontrol/reference.xml:1.18 phpdoc/en/reference/outcontrol/reference.xml:1.19 --- phpdoc/en/reference/outcontrol/reference.xml:1.18 Mon Dec 10 17:06:07 2007 +++ phpdoc/en/reference/outcontrol/reference.xml Sun Dec 23 18:16:26 2007 @@ -1,101 +1,19 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.18 $ --> -<!-- Purpose: basic.php --> -<!-- Membership: core --> +<reference xml:id="ref.outcontrol" xmlns="http://docbook.org/ns/docbook"> + <title>Output Control &Functions;</title> - <reference xml:id="ref.outcontrol" xmlns="http://docbook.org/ns/docbook"> - <title>Output Control Functions</title> - <titleabbrev>Output Control</titleabbrev> + <partintro> + &reftitle.seealso; + <para> + See also <function>header</function> and + <function>setcookie</function>. + </para> + </partintro> - <partintro> - <section xml:id="outcontrol.intro"> - &reftitle.intro; - <para> - The Output Control functions allow you to control when output is - sent from the script. This can be useful in several different - situations, especially if you need to send headers to the browser - after your script has began outputting data. The Output Control - functions do not affect headers sent using - <function>header</function> or <function>setcookie</function>, - only functions such as <function>echo</function> and data between - blocks of PHP code. - </para> - <note> - <para> - When upgrading from PHP 4.1.x (and 4.2.x) to 4.3.x due to a bug in - earlier versions you must ensure that - <literal>implict_flush</literal> is <literal>OFF</literal> in - your &php.ini;, otherwise any output with - <function>ob_start</function> will not be hidden from output. - </para> - </note> - </section> + &reference.outcontrol.entities.functions; - <section xml:id="outcontrol.requirements"> - &reftitle.required; - &no.requirement; - </section> +</reference> - <section xml:id="outcontrol.installation"> - &reftitle.install; - &no.install; - </section> - - &reference.outcontrol.ini; - - <section xml:id="outcontrol.resources"> - &reftitle.resources; - &no.resource; - </section> - - <section xml:id="outcontrol.constants"> - &reftitle.constants; - &no.constants; - </section> - - <section xml:id="outcontrol.examples"> - &reftitle.examples; - <para> - <example> - <title>Output Control example</title> - <programlisting role="php"> -<![CDATA[ -<?php - -ob_start(); -echo "Hello\n"; - -setcookie("cookiename", "cookiedata"); - -ob_end_flush(); - -?> -]]> - </programlisting> - </example> - </para> - <para> - In the above example, the output from <function>echo</function> - would be stored in the output buffer until - <function>ob_end_flush</function> was called. In the mean time, - the call to <function>setcookie</function> successfully stored a - cookie without causing an error. (You can not normally send - headers to the browser after data has already been sent.) - </para> - </section> - - <section xml:id="outcontrol.seealso"> - &reftitle.seealso; - <para> - See also <function>header</function> and - <function>setcookie</function>. - </para> - </section> - </partintro> - -&reference.outcontrol.entities.functions; - - </reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml