File tree Expand file tree Collapse file tree 3 files changed +24
-13
lines changed Expand file tree Collapse file tree 3 files changed +24
-13
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: 2ca114baf0105762660cd7a2f0300edc8ceb78c7 Maintainer: takagi Status: ready -->
3+ <!-- EN-Revision: af7044e82ac0abe745ce3dfe2169e69a7e8e342f Maintainer: takagi Status: ready -->
44<!-- CREDITS: shimooka,hirokawa -->
55<appendix xml : id =" outcontrol.constants" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
66 &reftitle.constants;
77 &extension.constants.core;
8- <variablelist >
8+ <variablelist xml : id = " outcontrol.constants.flags-passed-to-handler " >
99 <title >出力ハンドラに渡されるステータスフラグ</title >
1010 <para >
1111 以下のフラグは、<function >ob_start</function >
100100 </listitem >
101101 </varlistentry >
102102 </variablelist >
103- <variablelist >
103+ <variablelist xml : id = " outcontrol.constants.buffer-control-flags " >
104104 <title >出力バッファの制御フラグ</title >
105105 <para >
106106 以下のフラグは、<function >ob_start</function >
166166 </listitem >
167167 </varlistentry >
168168 </variablelist >
169- <variablelist >
169+ <variablelist xml : id = " outcontrol.constants.flags-returned-by-handler " >
170170 <title >出力ハンドラのステータスフラグ</title >
171171 <para >
172172 以下のフラグは、
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: 6ab6ea465889620fc2a8cdaf7b008cbaed83c523 Maintainer: hirokawa Status: ready -->
3+ <!-- EN-Revision: af7044e82ac0abe745ce3dfe2169e69a7e8e342f Maintainer: hirokawa Status: ready -->
44<refentry xmlns =" http://docbook.org/ns/docbook" xml : id =" function.ob-get-level" >
55 <refnamediv >
66 <refname >ob_get_level</refname >
77 <refpurpose >出力バッファリング機構のネストレベルを返す</refpurpose >
88 </refnamediv >
9-
9+
1010 <refsect1 role =" description" >
1111 &reftitle.description;
1212 <methodsynopsis >
2929 出力バッファリングハンドラのネストレベルを返します。
3030 バッファリングがアクティブでない場合はゼロを返します。
3131 </para >
32+ <caution >
33+ <simpara >
34+ <function >ob_get_level</function >
35+ と <function >ob_get_status</function >
36+ が返す同じレベルの値は、1だけ差があります。
37+
38+ <function >ob_get_level</function > では最初のレベルは
39+ <literal >1</literal > ですが、<function >ob_get_status</function >
40+ の最初のレベルは <literal >0</literal > です。
41+ </simpara >
42+ </caution >
3243 </refsect1 >
3344
3445 <refsect1 role =" seealso" >
3546 &reftitle.seealso;
3647 <para >
3748 <simplelist >
3849 <member ><function >ob_start</function ></member >
50+ <member ><function >ob_get_status</function ></member >
3951 <member ><function >ob_get_contents</function ></member >
4052 </simplelist >
4153 </para >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: 2b3715871c83b928ac496e6c777d6be9f0d71cbf Maintainer: mumumu Status: ready -->
3+ <!-- EN-Revision: af7044e82ac0abe745ce3dfe2169e69a7e8e342f Maintainer: mumumu Status: ready -->
44<refentry xml : id =" function.ob-get-status" xmlns =" http://docbook.org/ns/docbook" >
55 <refnamediv >
66 <refname >ob_get_status</refname >
6363 <seglistitem >
6464 <seg >name</seg >
6565 <seg >
66- <function >ob_start</function > の <parameter >callback</parameter > が設定した、
67- アクティブな出力ハンドラの名前。
68- <link linkend =" ini.output-buffering" >output_buffering</link > が有効な場合は、
69- <link linkend =" ini.output-handler" >output_handler</link > の値。
70- 何も設定されていない場合は <literal >'default output handler'</literal >。
66+ アクティブな出力ハンドラの名前
67+ (詳細は <function >ob_list_handlers</function > の戻り値を参照下さい)
7168 </seg >
7269 </seglistitem >
7370 <seglistitem >
8380 <function >ob_start</function > が設定したフラグのビットマスク。
8481 出力ハンドラのタイプ(上記を参照) と、
8582 バッファリング中のプロセス
86- (<link linkend =" outcontrol.constants" >
83+ (<link linkend =" outcontrol.constants.flags-returned-by-handler " >
8784 <constant >PHP_OUTPUT_HANDLER_<replaceable >*</replaceable ></constant >
8885 </link > 定数)。
8986 ハンドラのバッファの処理が成功し、&false; を返さなかった場合、
123120 <seg >buffer_used</seg >
124121 <seg >
125122 出力バッファ中のデータサイズ(バイト単位)
123+ (<function >ob_get_length</function > が返す整数値と同じです)
126124 </seg >
127125 </seglistitem >
128126 </segmentedlist >
@@ -192,6 +190,7 @@ Array
192190 <simplelist >
193191 <member ><function >ob_get_level</function ></member >
194192 <member ><function >ob_list_handlers</function ></member >
193+ <member ><function >ob_get_length</function ></member >
195194 <member ><function >ob_start</function ></member >
196195 </simplelist >
197196 </para >
You can’t perform that action at this time.
0 commit comments