PEAR logo

HTML_CSS : The Definitive Guide

Name

HTML_CSS::setCache — Set cache flag

Synopsis

    require_once 'HTML/CSS.php';
   
void|PEAR_Error HTML_CSS::setCache( $cache = TRUE);  
bool   $cache = TRUE;

Description

Define if the document should be cached by the browser. Default to false.

Parameter

boolean $cache

(optional)

Throws

throws HTML_CSS_ERROR_INVALID_INPUT

Since

since version 0.2.0 (2003-07-31)

Note

This function can not be called statically.

HTML_CSS : The Definitive Guide v 1.5.0 : January 15, 2008