PEAR logo

HTML_CSS : The Definitive Guide

Name

HTML_CSS::parseFile — Parse file content

Synopsis

    require_once 'HTML/CSS.php';
   
void|PEAR_Error HTML_CSS::parseFile( $filename,  
  $duplicates = NULL);  
string   $filename;
bool   $duplicates = NULL;

Description

Parse a file that contains CSS information

Parameter

string $filename

file to parse

boolean $duplicates

(optional) Allow or disallow duplicates.

See

see HTML_CSS::parseString

Throws

throws HTML_CSS_ERROR_INVALID_INPUT, HTML_CSS_ERROR_NO_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