HTML_CSS::setContentDisposition

HTML_CSS::setContentDisposition() – Set Content-Disposition header

Synopsis

require_once 'HTML/CSS.php';

void|PEAR_Error HTML_CSS::setContentDisposition ( 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

since version 1.3.0 (2007-10-22)

Note

This function can not be called statically.

Set charset value (Previous) Set lineend value (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.