mirror of
https://github.com/php/doc-ja.git
synced 2026-04-28 18:43:16 +02:00
118 lines
3.3 KiB
XML
118 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 1cdb6d04aa0d5c15c73337d0dca75d67e0f2e48e Maintainer: hirokawa Status: ready -->
|
|
<!-- Credits: mumumu -->
|
|
<refentry xml:id="function.ob-implicit-flush" xmlns="http://docbook.org/ns/docbook">
|
|
<refnamediv>
|
|
<refname>ob_implicit_flush</refname>
|
|
<refpurpose>自動フラッシュをオンまたはオフにする</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>void</type><methodname>ob_implicit_flush</methodname>
|
|
<methodparam choice="opt"><type>bool</type><parameter>enable</parameter><initializer>&true;</initializer></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>ob_implicit_flush</function> は、
|
|
自動フラッシュをオンまたはオフに切替えます。
|
|
自動フラッシュにより、出力が行われるコードブロックが実行されるたびに
|
|
フラッシュ操作が行われるようになります。このため、<function>flush</function>
|
|
を明示的にコールする必要はなくなります。
|
|
</para>
|
|
<note>
|
|
<simpara>
|
|
空文字列を出力したり、ヘッダを送信することは出力とはみなされないため、
|
|
フラッシュ操作は行われません。
|
|
</simpara>
|
|
</note>
|
|
<note>
|
|
<simpara>
|
|
この関数は、
|
|
<function>ob_start</function>
|
|
や <function>output_add_rewrite_var</function>
|
|
によって開始されたユーザーレベルの出力ハンドラには、何ら影響しません。
|
|
</simpara>
|
|
</note>
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>enable</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
&true; で自動フラッシュをオンに、&false; でオフにします。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
&return.void;
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="changelog">
|
|
&reftitle.changelog;
|
|
<informaltable>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>&Version;</entry>
|
|
<entry>&Description;</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry>8.0.0</entry>
|
|
<entry>
|
|
<parameter>enable</parameter> は、<type>bool</type> 型の値を期待するようになりました。
|
|
これより前のバージョンでは、数値型が期待されていました。
|
|
</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</informaltable>
|
|
</refsect1>
|
|
|
|
<refsect1 role="seealso">
|
|
&reftitle.seealso;
|
|
<para>
|
|
<simplelist>
|
|
<member><function>flush</function></member>
|
|
<member><function>ob_start</function></member>
|
|
<member><function>ob_end_flush</function></member>
|
|
</simplelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
</refentry>
|
|
<!-- 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:"~/.phpdoc/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
|
|
-->
|