git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@159035 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Yannick Torres 2004-05-19 16:09:22 +00:00
parent 25d2f20789
commit f0c19ea7b0
5 changed files with 30 additions and 23 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/outcontrol.xml, last change in rev 1.1 -->
<refentry id="function.ob-gzhandler">
<refnamediv>
@ -15,11 +15,6 @@
<methodparam><type>string</type><parameter>buffer</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam>
</methodsynopsis>
<note>
<para>
<parameter>mode</parameter> was added in PHP 4.0.5.
</para>
</note>
<para>
<function>ob_gzhandler</function> is intended to be used as a
callback function for <function>ob_start</function> to help
@ -31,9 +26,14 @@
browsers are supported since it's up to the browser to send the
correct header saying that it accepts compressed web pages.
</para>
<note>
<para>
<parameter>mode</parameter> was added in PHP 4.0.5.
</para>
</note>
<para>
<example>
<title><function>ob_gzhandler</function> Example</title>
<title><function>ob_gzhandler</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
@ -43,17 +43,13 @@ ob_start("ob_gzhandler");
?>
<html>
<body>
<p>This should be a compressed page.
<p>This should be a compressed page.</p>
</html>
<body>
]]>
</programlisting>
</example>
</para>
<para>
See also <function>ob_start</function> and
<function>ob_end_flush</function>.
</para>
<note>
<para>
You cannot use both <function>ob_gzhandler</function> and
@ -64,6 +60,11 @@ ob_start("ob_gzhandler");
<function>ob_gzhandler</function>.
</para>
</note>
<para>
See also
<function>ob_start</function> and
<function>ob_end_flush</function>.
</para>
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry id="function.ob-list-handlers">
<refnamediv>
<refname>ob_list_handlers</refname>
@ -54,9 +54,11 @@ Array
</example>
</para>
<para>
See also <function>ob_end_clean</function>,
See also
<function>ob_end_clean</function>,
<function>ob_end_flush</function>,
<function>ob_get_flush</function>, and <function>ob_start</function>.
<function>ob_get_flush</function>,
<function>ob_start</function>.
</para>
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.9 $ -->
<!-- $Revision: 1.10 $ -->
<!-- splitted from ./en/functions/outcontrol.xml, last change in rev 1.1 -->
<refentry id="function.ob-start">
<refnamediv>
@ -109,7 +109,7 @@ ob_end_flush();
<![CDATA[
<html>
<body>
<p>It's like comparing oranges to oranges.
<p>It's like comparing oranges to oranges.</p>
</body>
</html>
]]>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry id="function.output-add-rewrite-var">
<refnamediv>
<refname>output_add_rewrite_var</refname>
@ -63,8 +63,10 @@ Array
</example>
</para>
<para>
See also <function>output_reset_rewrite_vars</function>,
<function>ob_flush</function> and <function>ob_list_handlers</function>.
See also
<function>output_reset_rewrite_vars</function>,
<function>ob_flush</function> and
<function>ob_list_handlers</function>.
</para>
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry id="function.output-reset-rewrite-vars">
<refnamediv>
<refname>output_reset_rewrite_vars</refname>
@ -46,8 +46,10 @@ echo '<a href="file.php">link</a>';
</example>
</para>
<para>
See also <function>output_add_rewrite_var</function>,
<function>ob_flush</function>, <function>ob_list_handlers</function> and
See also
<function>output_add_rewrite_var</function>,
<function>ob_flush</function>,
<function>ob_list_handlers</function> and
<function>session_start</function>.
</para>
</refsect1>