Name
HTML_CSS::setContentDisposition
—
Defines the Content-Disposition filename for the browser output.
Synopsis
require_once 'HTML/CSS.php';
void|PEAR_Error HTML_CSS::setContentDisposition(
|
$enable = TRUE,
|
|
|
$filename = '') ;
|
|
boolean
|
$enable = TRUE;
|
string
|
$filename = '';
|
Description
Defines the Content-Disposition filename for the browser output.
Defaults to basename($_SERVER['PHP_SELF']).'.css'
Parameter
-
boolean
$enable
-
(optional)
-
string
$filename
-
(optional)
Throws
throws
HTML_CSS_ERROR_INVALID_INPUT
Since
Release 1.3.0 (2007-10-22)
Note
This function can not be called statically.