HTML_CSS::toFile

HTML_CSS::toFile() – Generate CSS and stores it in a file

Synopsis

require_once 'HTML/CSS.php';

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

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.

Return a string-properties for style attribute of an HTML element (Previous) Return current CSS parsed data as a string (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.