PEAR logo

HTML_CSS : The Definitive Guide

Name

HTML_CSS::toFile — Generate CSS and stores it in a file

Synopsis

    require_once 'HTML/CSS.php';
   
void|PEAR_Error HTML_CSS::toFile( $filename);  
string   $filename;

Description

Generate current parsed CSS data sources and write result in a user file

Parameter

string $filename

Name of file that content the stylesheet

See

see HTML_CSS::toString

Throws

throws HTML_CSS_ERROR_INVALID_INPUT, HTML_CSS_ERROR_WRITE_FILE

Since

since version 0.3.0 (2003-11-03)

Note

This function can not be called statically.

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