ResourceOutput
in package
リソース出力クラスです。
Table of Contents
Properties
Methods
- __construct() : mixed
- _handler() : mixed
- end() : mixed
- バッファの内容を送信し、リソース送信のためのバッファリングを終了します。
- start() : mixed
- リソース送信のための出力のバッファリングを有効にします。
Properties
$missing
public
mixed
$missing
= true
$fp
private
mixed
$fp
$ob
private
mixed
$ob
= false
$uri
private
mixed
$uri
Methods
__construct()
public
__construct(mixed $fp, mixed $uri) : mixed
Parameters
- $fp : mixed
- $uri : mixed
_handler()
public
_handler(mixed $buffer) : mixed
Parameters
- $buffer : mixed
end()
バッファの内容を送信し、リソース送信のためのバッファリングを終了します。
public
end() : mixed
start,endは対となります。
start()
リソース送信のための出力のバッファリングを有効にします。
public
start([array<string|int, mixed> $opts = array() ]) : mixed
start,endは対となります。
Parameters
- $opts : array<string|int, mixed> = array()
-
リソースオプション('mimeType', 'encoding', 'length'というキーでデータ型、文字コード、長さを設定することができます。)