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 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: 2ca114baf0105762660cd7a2f0300edc8ceb78c7 Maintainer: takagi Status: ready -->
3
+ <!-- EN-Revision: af7044e82ac0abe745ce3dfe2169e69a7e8e342f Maintainer: takagi Status: ready -->
4
4
<!-- CREDITS: shimooka,hirokawa -->
5
5
<appendix xml : id =" outcontrol.constants" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
6
6
&reftitle.constants;
7
7
&extension.constants.core;
8
- <variablelist >
8
+ <variablelist xml : id = " outcontrol.constants.flags-passed-to-handler " >
9
9
<title >出力ハンドラに渡されるステータスフラグ</title >
10
10
<para >
11
11
以下のフラグは、<function >ob_start</function >
100
100
</listitem >
101
101
</varlistentry >
102
102
</variablelist >
103
- <variablelist >
103
+ <variablelist xml : id = " outcontrol.constants.buffer-control-flags " >
104
104
<title >出力バッファの制御フラグ</title >
105
105
<para >
106
106
以下のフラグは、<function >ob_start</function >
166
166
</listitem >
167
167
</varlistentry >
168
168
</variablelist >
169
- <variablelist >
169
+ <variablelist xml : id = " outcontrol.constants.flags-returned-by-handler " >
170
170
<title >出力ハンドラのステータスフラグ</title >
171
171
<para >
172
172
以下のフラグは、
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: 6ab6ea465889620fc2a8cdaf7b008cbaed83c523 Maintainer: hirokawa Status: ready -->
3
+ <!-- EN-Revision: af7044e82ac0abe745ce3dfe2169e69a7e8e342f Maintainer: hirokawa Status: ready -->
4
4
<refentry xmlns =" http://docbook.org/ns/docbook" xml : id =" function.ob-get-level" >
5
5
<refnamediv >
6
6
<refname >ob_get_level</refname >
7
7
<refpurpose >出力バッファリング機構のネストレベルを返す</refpurpose >
8
8
</refnamediv >
9
-
9
+
10
10
<refsect1 role =" description" >
11
11
&reftitle.description;
12
12
<methodsynopsis >
29
29
出力バッファリングハンドラのネストレベルを返します。
30
30
バッファリングがアクティブでない場合はゼロを返します。
31
31
</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 >
32
43
</refsect1 >
33
44
34
45
<refsect1 role =" seealso" >
35
46
&reftitle.seealso;
36
47
<para >
37
48
<simplelist >
38
49
<member ><function >ob_start</function ></member >
50
+ <member ><function >ob_get_status</function ></member >
39
51
<member ><function >ob_get_contents</function ></member >
40
52
</simplelist >
41
53
</para >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: 2b3715871c83b928ac496e6c777d6be9f0d71cbf Maintainer: mumumu Status: ready -->
3
+ <!-- EN-Revision: af7044e82ac0abe745ce3dfe2169e69a7e8e342f Maintainer: mumumu Status: ready -->
4
4
<refentry xml : id =" function.ob-get-status" xmlns =" http://docbook.org/ns/docbook" >
5
5
<refnamediv >
6
6
<refname >ob_get_status</refname >
63
63
<seglistitem >
64
64
<seg >name</seg >
65
65
<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 > の戻り値を参照下さい)
71
68
</seg >
72
69
</seglistitem >
73
70
<seglistitem >
83
80
<function >ob_start</function > が設定したフラグのビットマスク。
84
81
出力ハンドラのタイプ(上記を参照) と、
85
82
バッファリング中のプロセス
86
- (<link linkend =" outcontrol.constants" >
83
+ (<link linkend =" outcontrol.constants.flags-returned-by-handler " >
87
84
<constant >PHP_OUTPUT_HANDLER_<replaceable >*</replaceable ></constant >
88
85
</link > 定数)。
89
86
ハンドラのバッファの処理が成功し、&false; を返さなかった場合、
123
120
<seg >buffer_used</seg >
124
121
<seg >
125
122
出力バッファ中のデータサイズ(バイト単位)
123
+ (<function >ob_get_length</function > が返す整数値と同じです)
126
124
</seg >
127
125
</seglistitem >
128
126
</segmentedlist >
@@ -192,6 +190,7 @@ Array
192
190
<simplelist >
193
191
<member ><function >ob_get_level</function ></member >
194
192
<member ><function >ob_list_handlers</function ></member >
193
+ <member ><function >ob_get_length</function ></member >
195
194
<member ><function >ob_start</function ></member >
196
195
</simplelist >
197
196
</para >
You can’t perform that action at this time.
0 commit comments