cvs: phpdoc-de /reference/outcontrol book.xml constants.xml examples.xml reference.xml setup.xml /reference/outcontrol/functions ob-end-flush.xml
ob-flush.xml ob-get-contents.xml ob-get-level.xml ob-implicit-flush.xml
| From: | Hartmut Holzgraefe | Date: | Sun, 24 Feb 2008 14:56:47 +0000 |
| Subject: | cvs: phpdoc-de /reference/outcontrol book.xml constants.xml examples.xml reference.xml setup.xml /reference/outcontrol/functions ob-end-flush.xml ob-flush.xml ob-get-contents.xml ob-get-level.xml ob-implicit-flush.xml |
||
| Groups: | php.doc.de | ||
| Request: | Send a blank email to doc-de+get-2380@lists.php.net to get a copy of this message | ||
hholzgra Sun Feb 24 14:56:47 2008 UTC
Added files:
/phpdoc-de/reference/outcontrol book.xml constants.xml examples.xml
setup.xml
Modified files:
/phpdoc-de/reference/outcontrol reference.xml
/phpdoc-de/reference/outcontrol/functions ob-end-flush.xml
ob-flush.xml
ob-get-contents.xml
ob-get-level.xml
ob-implicit-flush.xml
Log:
file layout changes from en
http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/outcontrol/reference.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-de/reference/outcontrol/reference.xml diff -u phpdoc-de/reference/outcontrol/reference.xml:1.10 phpdoc-de/reference/outcontrol/reference.xml:1.11 --- phpdoc-de/reference/outcontrol/reference.xml:1.10 Mon Dec 10 17:09:03 2007 +++ phpdoc-de/reference/outcontrol/reference.xml Sun Feb 24 14:56:47 2008 @@ -1,102 +1,22 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.17 Maintainer: hholzgra Status: ready --> - <reference xml:id="ref.outcontrol" xmlns="http://docbook.org/ns/docbook"> - <title>Funktionen zur Ausgabesteuerung</title> - <titleabbrev>Output Control</titleabbrev> - - <partintro> - <section xml:id="outcontrol.intro"> - &reftitle.intro; - <para> - Mit den Funktionen zur Ausgabesteuerung können Sie die Ausgabe - eines Skripts steuern. Dies kann in verschiedenen Situationen - ganz nützlich sein, besonders wenn Sie header an den Browser - schicken müssen nachdem Ihr Skript bereits etwas ausgegeben - hat. Die Ausgabesteuerungsfunktionen gelten nicht für Header, - die mit <function>header</function> oder <function>setcookie</function> - geschickt wurden, sondern nur für Daten ,die mit <function>echo</function> - gesendet wurden oder für Daten zwischen PHP-Codeblöcken. - </para> - <note> - <para> - Bei Upgrades von PHP 4.1.x (und 4.2.x) auf 4.3.x müssen Sie wegen - eines Fehlers in früheren Versionen sicherstellen das - <literal>implict_flush</literal> in Ihrer &php.ini; auf - <literal>OFF</literal> gesetzt ist, anderenfalls werden - Ausgaben auch nach Aufruf von <function>ob_start</function> - noch an den Browser weitergegeben. - </para> - </note> - </section> - - <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> - - <section xml:id="outcontrol.constants"> - &reftitle.constants; - &no.constants; - </section> - - <section xml:id="outcontrol.examples"> - &reftitle.examples; - <para> - <example> - <title>Beispiel Ausgabesteuerung</title> - <programlisting role="php"> -<![CDATA[ -<?php - -ob_start(); -echo "Hello\n"; - -setcookie ("cookiename", "cookiedata"); - -ob_end_flush(); - -?> -]]> - </programlisting> - </example> - </para> - <para> - Im obigen Beispiel wird die Ausgabe der <function>echo</function> - solange im Ausgabepuffer zwischengespeichert, bis die Funktion - <function>ob_end_flush</function> aufgeufen wird. In der - Zwischenzeit speichert der Aufruf von <function>setcookie</function> - erfolgreich einen Cookie, ohne einen Fehler zu erzeugen. - (Normalerweise können Sie keine header an den Browser mehr - schicken, wenn schon Daten ausgegeben wurden.) - </para> - </section> - - - <section xml:id="outcontrol.seealso"> - &reftitle.seealso; - <para> - See also <function>header</function> and - <function>setcookie</function>. - </para> - </section> - </partintro> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.20 Maintainer: hholzgra Status: ready --> -&reference.outcontrol.entities.functions; +<reference xml:id="ref.outcontrol" xmlns="http://docbook.org/ns/docbook"> + <title>Output Control &Functions;</title> + + <partintro> + &reftitle.seealso; + <para> + Siehe auch <function>header</function> und + <function>setcookie</function>. + </para> + </partintro> + + &reference.outcontrol.entities.functions; + +</reference> - </reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -113,5 +33,8 @@ 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-de/reference/outcontrol/functions/ob-end-flush.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-de/reference/outcontrol/functions/ob-end-flush.xml diff -u phpdoc-de/reference/outcontrol/functions/ob-end-flush.xml:1.8 phpdoc-de/reference/outcontrol/functions/ob-end-flush.xml:1.9 --- phpdoc-de/reference/outcontrol/functions/ob-end-flush.xml:1.8 Sat Jun 23 13:21:44 2007 +++ phpdoc-de/reference/outcontrol/functions/ob-end-flush.xml Sun Feb 24 14:56:47 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.8 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.11 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.ob-end-flush" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>ob_end_flush</refname> @@ -9,8 +9,8 @@ Ausgabe-Pufferung </refpurpose> </refnamediv> - <refsect1> - <title>Beschreibung:</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ob_end_flush</methodname> <void/> @@ -34,13 +34,48 @@ aber nur den Erfolgsstatus statt des aktuellen Pufferinhalts zurück. </para> + </refsect1> + + <refsect1 role="errors"> + &reftitle.errors; <para> - Das folgende Beispiel zeigt einen einfachen Weg um alle aktiven - Ausgabepuffer zu leeren und zu entfernen: + If the function fails it generates an <constant>E_NOTICE</constant>. </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.2.0</entry> + <entry> + Die Funktion gibt nun den Erfolgsstatus als <type>bool</type> zurück. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>ob_end_clean</function> Beispiel</title> + <para> + Das folgende Beispiel zeigt einen einfachen Weg um alle aktiven + Ausgabepuffer zu leeren und zu entfernen: + </para> <programlisting role="php"> <![CDATA[ <?php @@ -50,7 +85,11 @@ </programlisting> </example> </para> - <para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> Siehe auch <function>ob_start</function>, <function>ob_get_contents</function>, <function>ob_get_flush</function>, http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/outcontrol/functions/ob-flush.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-de/reference/outcontrol/functions/ob-flush.xml diff -u phpdoc-de/reference/outcontrol/functions/ob-flush.xml:1.3 phpdoc-de/reference/outcontrol/functions/ob-flush.xml:1.4 --- phpdoc-de/reference/outcontrol/functions/ob-flush.xml:1.3 Sat Jun 23 13:21:44 2007 +++ phpdoc-de/reference/outcontrol/functions/ob-flush.xml Sun Feb 24 14:56:47 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.2 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.5 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.ob-flush" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>ob_flush</refname> @@ -8,8 +8,8 @@ Leert (sendet) den Ausgabepuffer </refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>void</type><methodname>ob_flush</methodname> <void/> @@ -25,11 +25,22 @@ Anders als bei <function>ob_end_flush</function> bleibt der Ausgabepuffer erhalten. </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.void; + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>ob_get_contents</function>, - <function>ob_clean</function>, - <function>ob_end_flush</function> und - <function>ob_end_clean</function>. + <member><function>ob_get_contents</function></member> + <member><function>ob_clean</function></member> + <member><function>ob_end_flush</function></member> + <member><function>ob_end_clean</function></member> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/outcontrol/functions/ob-get-contents.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-de/reference/outcontrol/functions/ob-get-contents.xml diff -u phpdoc-de/reference/outcontrol/functions/ob-get-contents.xml:1.7 phpdoc-de/reference/outcontrol/functions/ob-get-contents.xml:1.8 --- phpdoc-de/reference/outcontrol/functions/ob-get-contents.xml:1.7 Sat Jun 23 13:21:44 2007 +++ phpdoc-de/reference/outcontrol/functions/ob-get-contents.xml Sun Feb 24 14:56:47 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.3 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.6 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.ob-get-contents" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>ob_get_contents</refname> @@ -8,20 +8,28 @@ Gibt den Inhalt des Ausgabe-Puffers zurück </refpurpose> </refnamediv> - <refsect1> - <title>Beschreibung:</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>ob_get_contents</methodname> <void/> </methodsynopsis> <para> + Gibt den Inhalt des Ausgabepuffers ohne Löschung zurück. + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> <function>ob_get_contents</function> gibt den Inhalt des Ausgabepuffers zurück ohne ihn zu löschen oder &false;, wenn die Ausgabe-Pufferung nicht aktiv ist. </para> + </refsect1> + <refsect1 role="examples"> <para> <example> - <title>Ein einfaches <function>ob_get_contents</function> Beispiel</title> + &example.outputs; <programlisting role="php"> <![CDATA[ <?php @@ -55,10 +63,14 @@ </screen> </example> </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>ob_start</function>, - <function>ob_end_flush</function> und - <function>ob_end_clean</function>. + <simplelist> + <member><function>ob_start</function></member> + <member><function>ob_get_length</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/outcontrol/functions/ob-get-level.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-de/reference/outcontrol/functions/ob-get-level.xml diff -u phpdoc-de/reference/outcontrol/functions/ob-get-level.xml:1.3 phpdoc-de/reference/outcontrol/functions/ob-get-level.xml:1.4 --- phpdoc-de/reference/outcontrol/functions/ob-get-level.xml:1.3 Sat Jun 23 13:21:44 2007 +++ phpdoc-de/reference/outcontrol/functions/ob-get-level.xml Sun Feb 24 14:56:47 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.6 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.ob-get-level" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>ob_get_level</refname> @@ -8,8 +8,8 @@ Anzahl der aktiven Ausgabepuffer </refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>int</type><methodname>ob_get_level</methodname> <void/> @@ -20,9 +20,21 @@ Ausgabepuffer oder 0 wenn keine Ausgabepufferung genutzt wird. </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Gibt die Anzahle der aktiven Ausgabepuffer zurück. + Wenn keine Ausgabepufferung aktiv ist wird 0 zurückgegeben. + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>ob_start</function> und - <function>ob_get_contents</function>. + <simplelist> + <member><function>ob_start</function></member> + <member><function>ob_get_contents</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/outcontrol/functions/ob-implicit-flush.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-de/reference/outcontrol/functions/ob-implicit-flush.xml diff -u phpdoc-de/reference/outcontrol/functions/ob-implicit-flush.xml:1.5 phpdoc-de/reference/outcontrol/functions/ob-implicit-flush.xml:1.6 --- phpdoc-de/reference/outcontrol/functions/ob-implicit-flush.xml:1.5 Sat Jun 23 13:21:44 2007 +++ phpdoc-de/reference/outcontrol/functions/ob-implicit-flush.xml Sun Feb 24 14:56:47 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.4 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.7 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.ob-implicit-flush" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>ob_implicit_flush</refname> @@ -8,24 +8,53 @@ Schaltet die implizite Ausgabe ein bzw. aus </refpurpose> </refnamediv> - <refsect1> - <title>Beschreibung:</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>void</type><methodname>ob_implicit_flush</methodname> <methodparam choice="opt"><type>int</type><parameter>flag</parameter></methodparam> </methodsynopsis> <para> <function>ob_implicit_flush</function> schaltet die implizite - Ausgabe an oder aus (wenn kein <parameter>flag</parameter> - angegeben wurde, wird per default "Ein" angenommen). Die implizite + Ausgabe an oder aus. Die implizite Puffer-Ausgabe erzeugt eine Ausgabe nach jedem Ausgabe-Befehl, so dass keine Extra-Aufrufe von <function>flush</function> mehr erforderlich sind. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>flag</parameter></term> + <listitem> + <para> + &true; schaltet implizite Ausgabe ein, &false; schaltet sie aus. + Vorgabewert ist &true;. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.void; + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>flush</function>, - <function>ob_start</function> und - <function>ob_end_flush</function>. + <simplelist> + <member><function>flush</function></member> + <member><function>ob_start</function></member> + <member><function>ob_end_flush</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/outcontrol/book.xml?view=markup&rev=1.1 Index: phpdoc-de/reference/outcontrol/book.xml +++ phpdoc-de/reference/outcontrol/book.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: hholzgra Status: ready --> <book xml:id="book.outcontrol" xmlns="http://docbook.org/ns/docbook"> <title>Output Control</title> <preface xml:id="intro.outcontrol"> &reftitle.intro; <para> Mit den Funktionen zur Ausgabesteuerung können Sie die Ausgabe eines Skripts steuern. Dies kann in verschiedenen Situationen ganz nützlich sein, besonders wenn Sie header an den Browser schicken müssen nachdem Ihr Skript bereits etwas ausgegeben hat. Die Ausgabesteuerungsfunktionen gelten nicht für Header, die mit <function>header</function> oder <function>setcookie</function> geschickt wurden, sondern nur für Daten ,die mit <function>echo</function> gesendet wurden oder für Daten zwischen PHP-Codeblöcken. </para> <note> <para> Bei Upgrades von PHP 4.1.x (und 4.2.x) auf 4.3.x müssen Sie wegen eines Fehlers in früheren Versionen sicherstellen das <literal>implict_flush</literal> in Ihrer &php.ini; auf <literal>OFF</literal> gesetzt ist, anderenfalls werden Ausgaben auch nach Aufruf von <function>ob_start</function> noch an den Browser weitergegeben. </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: --> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/outcontrol/constants.xml?view=markup&rev=1.1 Index: phpdoc-de/reference/outcontrol/constants.xml +++ phpdoc-de/reference/outcontrol/constants.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: hholzgra Status: ready --> <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-de/reference/outcontrol/examples.xml?view=markup&rev=1.1 Index: phpdoc-de/reference/outcontrol/examples.xml +++ phpdoc-de/reference/outcontrol/examples.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: hholzgra Status: ready --> <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 Beispiel</title> <programlisting role="php"> <![CDATA[ <?php ob_start(); echo "Hello\n"; setcookie("cookiename", "cookiedata"); ob_end_flush(); ?> ]]> </programlisting> </example> </para> <para> Im obigen Beispiel wird die Ausgabe der <function>echo</function> solange im Ausgabepuffer zwischengespeichert, bis die Funktion <function>ob_end_flush</function> aufgeufen wird. In der Zwischenzeit speichert der Aufruf von <function>setcookie</function> erfolgreich einen Cookie, ohne einen Fehler zu erzeugen. (Normalerweise können Sie keine header an den Browser mehr schicken, wenn schon Daten ausgegeben wurden.) </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-de/reference/outcontrol/setup.xml?view=markup&rev=1.1 Index: phpdoc-de/reference/outcontrol/setup.xml +++ phpdoc-de/reference/outcontrol/setup.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: hholzgra Status: ready --> <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-de/reference/outcontrol/reference.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-de/reference/outcontrol/reference.xml diff -u phpdoc-de/reference/outcontrol/reference.xml:1.10 phpdoc-de/reference/outcontrol/reference.xml:1.11 --- phpdoc-de/reference/outcontrol/reference.xml:1.10 Mon Dec 10 17:09:03 2007 +++ phpdoc-de/reference/outcontrol/reference.xml Sun Feb 24 14:56:47 2008 @@ -1,102 +1,22 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.17 Maintainer: hholzgra Status: ready --> - <reference xml:id="ref.outcontrol" xmlns="http://docbook.org/ns/docbook"> - <title>Funktionen zur Ausgabesteuerung</title> - <titleabbrev>Output Control</titleabbrev> - - <partintro> - <section xml:id="outcontrol.intro"> - &reftitle.intro; - <para> - Mit den Funktionen zur Ausgabesteuerung können Sie die Ausgabe - eines Skripts steuern. Dies kann in verschiedenen Situationen - ganz nützlich sein, besonders wenn Sie header an den Browser - schicken müssen nachdem Ihr Skript bereits etwas ausgegeben - hat. Die Ausgabesteuerungsfunktionen gelten nicht für Header, - die mit <function>header</function> oder <function>setcookie</function> - geschickt wurden, sondern nur für Daten ,die mit <function>echo</function> - gesendet wurden oder für Daten zwischen PHP-Codeblöcken. - </para> - <note> - <para> - Bei Upgrades von PHP 4.1.x (und 4.2.x) auf 4.3.x müssen Sie wegen - eines Fehlers in früheren Versionen sicherstellen das - <literal>implict_flush</literal> in Ihrer &php.ini; auf - <literal>OFF</literal> gesetzt ist, anderenfalls werden - Ausgaben auch nach Aufruf von <function>ob_start</function> - noch an den Browser weitergegeben. - </para> - </note> - </section> - - <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> - - <section xml:id="outcontrol.constants"> - &reftitle.constants; - &no.constants; - </section> - - <section xml:id="outcontrol.examples"> - &reftitle.examples; - <para> - <example> - <title>Beispiel Ausgabesteuerung</title> - <programlisting role="php"> -<![CDATA[ -<?php - -ob_start(); -echo "Hello\n"; - -setcookie ("cookiename", "cookiedata"); - -ob_end_flush(); - -?> -]]> - </programlisting> - </example> - </para> - <para> - Im obigen Beispiel wird die Ausgabe der <function>echo</function> - solange im Ausgabepuffer zwischengespeichert, bis die Funktion - <function>ob_end_flush</function> aufgeufen wird. In der - Zwischenzeit speichert der Aufruf von <function>setcookie</function> - erfolgreich einen Cookie, ohne einen Fehler zu erzeugen. - (Normalerweise können Sie keine header an den Browser mehr - schicken, wenn schon Daten ausgegeben wurden.) - </para> - </section> - - - <section xml:id="outcontrol.seealso"> - &reftitle.seealso; - <para> - See also <function>header</function> and - <function>setcookie</function>. - </para> - </section> - </partintro> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.20 Maintainer: hholzgra Status: ready --> -&reference.outcontrol.entities.functions; +<reference xml:id="ref.outcontrol" xmlns="http://docbook.org/ns/docbook"> + <title>Output Control &Functions;</title> + + <partintro> + &reftitle.seealso; + <para> + Siehe auch <function>header</function> und + <function>setcookie</function>. + </para> + </partintro> + + &reference.outcontrol.entities.functions; + +</reference> - </reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -113,5 +33,8 @@ 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-de/reference/outcontrol/functions/ob-end-flush.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-de/reference/outcontrol/functions/ob-end-flush.xml diff -u phpdoc-de/reference/outcontrol/functions/ob-end-flush.xml:1.8 phpdoc-de/reference/outcontrol/functions/ob-end-flush.xml:1.9 --- phpdoc-de/reference/outcontrol/functions/ob-end-flush.xml:1.8 Sat Jun 23 13:21:44 2007 +++ phpdoc-de/reference/outcontrol/functions/ob-end-flush.xml Sun Feb 24 14:56:47 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.8 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.11 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.ob-end-flush" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>ob_end_flush</refname> @@ -9,8 +9,8 @@ Ausgabe-Pufferung </refpurpose> </refnamediv> - <refsect1> - <title>Beschreibung:</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ob_end_flush</methodname> <void/> @@ -34,13 +34,48 @@ aber nur den Erfolgsstatus statt des aktuellen Pufferinhalts zurück. </para> + </refsect1> + + <refsect1 role="errors"> + &reftitle.errors; <para> - Das folgende Beispiel zeigt einen einfachen Weg um alle aktiven - Ausgabepuffer zu leeren und zu entfernen: + If the function fails it generates an <constant>E_NOTICE</constant>. </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.2.0</entry> + <entry> + Die Funktion gibt nun den Erfolgsstatus als <type>bool</type> zurück. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title><function>ob_end_clean</function> Beispiel</title> + <para> + Das folgende Beispiel zeigt einen einfachen Weg um alle aktiven + Ausgabepuffer zu leeren und zu entfernen: + </para> <programlisting role="php"> <![CDATA[ <?php @@ -50,7 +85,11 @@ </programlisting> </example> </para> - <para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> Siehe auch <function>ob_start</function>, <function>ob_get_contents</function>, <function>ob_get_flush</function>, http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/outcontrol/functions/ob-flush.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-de/reference/outcontrol/functions/ob-flush.xml diff -u phpdoc-de/reference/outcontrol/functions/ob-flush.xml:1.3 phpdoc-de/reference/outcontrol/functions/ob-flush.xml:1.4 --- phpdoc-de/reference/outcontrol/functions/ob-flush.xml:1.3 Sat Jun 23 13:21:44 2007 +++ phpdoc-de/reference/outcontrol/functions/ob-flush.xml Sun Feb 24 14:56:47 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.2 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.5 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.ob-flush" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>ob_flush</refname> @@ -8,8 +8,8 @@ Leert (sendet) den Ausgabepuffer </refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>void</type><methodname>ob_flush</methodname> <void/> @@ -25,11 +25,22 @@ Anders als bei <function>ob_end_flush</function> bleibt der Ausgabepuffer erhalten. </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.void; + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>ob_get_contents</function>, - <function>ob_clean</function>, - <function>ob_end_flush</function> und - <function>ob_end_clean</function>. + <member><function>ob_get_contents</function></member> + <member><function>ob_clean</function></member> + <member><function>ob_end_flush</function></member> + <member><function>ob_end_clean</function></member> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/outcontrol/functions/ob-get-contents.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-de/reference/outcontrol/functions/ob-get-contents.xml diff -u phpdoc-de/reference/outcontrol/functions/ob-get-contents.xml:1.7 phpdoc-de/reference/outcontrol/functions/ob-get-contents.xml:1.8 --- phpdoc-de/reference/outcontrol/functions/ob-get-contents.xml:1.7 Sat Jun 23 13:21:44 2007 +++ phpdoc-de/reference/outcontrol/functions/ob-get-contents.xml Sun Feb 24 14:56:47 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.3 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.6 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.ob-get-contents" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>ob_get_contents</refname> @@ -8,20 +8,28 @@ Gibt den Inhalt des Ausgabe-Puffers zurück </refpurpose> </refnamediv> - <refsect1> - <title>Beschreibung:</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>ob_get_contents</methodname> <void/> </methodsynopsis> <para> + Gibt den Inhalt des Ausgabepuffers ohne Löschung zurück. + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> <function>ob_get_contents</function> gibt den Inhalt des Ausgabepuffers zurück ohne ihn zu löschen oder &false;, wenn die Ausgabe-Pufferung nicht aktiv ist. </para> + </refsect1> + <refsect1 role="examples"> <para> <example> - <title>Ein einfaches <function>ob_get_contents</function> Beispiel</title> + &example.outputs; <programlisting role="php"> <![CDATA[ <?php @@ -55,10 +63,14 @@ </screen> </example> </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>ob_start</function>, - <function>ob_end_flush</function> und - <function>ob_end_clean</function>. + <simplelist> + <member><function>ob_start</function></member> + <member><function>ob_get_length</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/outcontrol/functions/ob-get-level.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-de/reference/outcontrol/functions/ob-get-level.xml diff -u phpdoc-de/reference/outcontrol/functions/ob-get-level.xml:1.3 phpdoc-de/reference/outcontrol/functions/ob-get-level.xml:1.4 --- phpdoc-de/reference/outcontrol/functions/ob-get-level.xml:1.3 Sat Jun 23 13:21:44 2007 +++ phpdoc-de/reference/outcontrol/functions/ob-get-level.xml Sun Feb 24 14:56:47 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.6 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.ob-get-level" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>ob_get_level</refname> @@ -8,8 +8,8 @@ Anzahl der aktiven Ausgabepuffer </refpurpose> </refnamediv> - <refsect1> - <title>Description</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>int</type><methodname>ob_get_level</methodname> <void/> @@ -20,9 +20,21 @@ Ausgabepuffer oder 0 wenn keine Ausgabepufferung genutzt wird. </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Gibt die Anzahle der aktiven Ausgabepuffer zurück. + Wenn keine Ausgabepufferung aktiv ist wird 0 zurückgegeben. + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>ob_start</function> und - <function>ob_get_contents</function>. + <simplelist> + <member><function>ob_start</function></member> + <member><function>ob_get_contents</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/outcontrol/functions/ob-implicit-flush.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-de/reference/outcontrol/functions/ob-implicit-flush.xml diff -u phpdoc-de/reference/outcontrol/functions/ob-implicit-flush.xml:1.5 phpdoc-de/reference/outcontrol/functions/ob-implicit-flush.xml:1.6 --- phpdoc-de/reference/outcontrol/functions/ob-implicit-flush.xml:1.5 Sat Jun 23 13:21:44 2007 +++ phpdoc-de/reference/outcontrol/functions/ob-implicit-flush.xml Sun Feb 24 14:56:47 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.4 Maintainer: hholzgra Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.7 Maintainer: hholzgra Status: ready --> <refentry xml:id="function.ob-implicit-flush" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>ob_implicit_flush</refname> @@ -8,24 +8,53 @@ Schaltet die implizite Ausgabe ein bzw. aus </refpurpose> </refnamediv> - <refsect1> - <title>Beschreibung:</title> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>void</type><methodname>ob_implicit_flush</methodname> <methodparam choice="opt"><type>int</type><parameter>flag</parameter></methodparam> </methodsynopsis> <para> <function>ob_implicit_flush</function> schaltet die implizite - Ausgabe an oder aus (wenn kein <parameter>flag</parameter> - angegeben wurde, wird per default "Ein" angenommen). Die implizite + Ausgabe an oder aus. Die implizite Puffer-Ausgabe erzeugt eine Ausgabe nach jedem Ausgabe-Befehl, so dass keine Extra-Aufrufe von <function>flush</function> mehr erforderlich sind. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>flag</parameter></term> + <listitem> + <para> + &true; schaltet implizite Ausgabe ein, &false; schaltet sie aus. + Vorgabewert ist &true;. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.void; + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Siehe auch <function>flush</function>, - <function>ob_start</function> und - <function>ob_end_flush</function>. + <simplelist> + <member><function>flush</function></member> + <member><function>ob_start</function></member> + <member><function>ob_end_flush</function></member> + </simplelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/outcontrol/book.xml?view=markup&rev=1.1 Index: phpdoc-de/reference/outcontrol/book.xml +++ phpdoc-de/reference/outcontrol/book.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: hholzgra Status: ready --> <book xml:id="book.outcontrol" xmlns="http://docbook.org/ns/docbook"> <title>Output Control</title> <preface xml:id="intro.outcontrol"> &reftitle.intro; <para> Mit den Funktionen zur Ausgabesteuerung können Sie die Ausgabe eines Skripts steuern. Dies kann in verschiedenen Situationen ganz nützlich sein, besonders wenn Sie header an den Browser schicken müssen nachdem Ihr Skript bereits etwas ausgegeben hat. Die Ausgabesteuerungsfunktionen gelten nicht für Header, die mit <function>header</function> oder <function>setcookie</function> geschickt wurden, sondern nur für Daten ,die mit <function>echo</function> gesendet wurden oder für Daten zwischen PHP-Codeblöcken. </para> <note> <para> Bei Upgrades von PHP 4.1.x (und 4.2.x) auf 4.3.x müssen Sie wegen eines Fehlers in früheren Versionen sicherstellen das <literal>implict_flush</literal> in Ihrer &php.ini; auf <literal>OFF</literal> gesetzt ist, anderenfalls werden Ausgaben auch nach Aufruf von <function>ob_start</function> noch an den Browser weitergegeben. </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: --> http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/outcontrol/constants.xml?view=markup&rev=1.1 Index: phpdoc-de/reference/outcontrol/constants.xml +++ phpdoc-de/reference/outcontrol/constants.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: hholzgra Status: ready --> <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-de/reference/outcontrol/examples.xml?view=markup&rev=1.1 Index: phpdoc-de/reference/outcontrol/examples.xml +++ phpdoc-de/reference/outcontrol/examples.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: hholzgra Status: ready --> <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 Beispiel</title> <programlisting role="php"> <![CDATA[ <?php ob_start(); echo "Hello\n"; setcookie("cookiename", "cookiedata"); ob_end_flush(); ?> ]]> </programlisting> </example> </para> <para> Im obigen Beispiel wird die Ausgabe der <function>echo</function> solange im Ausgabepuffer zwischengespeichert, bis die Funktion <function>ob_end_flush</function> aufgeufen wird. In der Zwischenzeit speichert der Aufruf von <function>setcookie</function> erfolgreich einen Cookie, ohne einen Fehler zu erzeugen. (Normalerweise können Sie keine header an den Browser mehr schicken, wenn schon Daten ausgegeben wurden.) </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-de/reference/outcontrol/setup.xml?view=markup&rev=1.1 Index: phpdoc-de/reference/outcontrol/setup.xml +++ phpdoc-de/reference/outcontrol/setup.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: hholzgra Status: ready --> <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 -->