HTML_CSS::setContentDisposition

HTML_CSS::setContentDisposition() – Content-Disposition ヘッダを設定する

Synopsis

require_once 'HTML/CSS.php';

void|PEAR_Error HTML_CSS::setContentDisposition ( boolean $enable = = true , string $filename = '' )

Description

ブラウザへの出力用に Content-Disposition ファイル名を定義します。 デフォルトは basename($_SERVER['PHP_SELF']).'.css' です。

Parameter

boolean $enable

(オプション)

string $filename

(オプション)

Throws

throws HTML_CSS_ERROR_INVALID_INPUT

Since

バージョン 1.3.0 (2007-10-22) 以降

Note

This function can not be called statically.