You are here

function csstidy::write_page in Advanced CSS/JS Aggregation 6

Write formatted output to a file

@access public @version 1.4

Parameters

string $filename:

string $doctype when printing formatted, is a shorthand for the document type:

bool $externalcss when printing formatted, indicates whether styles to be attached internally or as an external stylesheet:

string $title when printing formatted, is the title to be added in the head of the document:

string $lang when printing formatted, gives a two-letter language code to be added to the output:

File

advagg_css_compress/csstidy/class.csstidy.inc, line 457

Class

csstidy
CSS Parser class

Code

function write_page($filename, $doctype = 'xhtml1.1', $externalcss = true, $title = '', $lang = 'en') {
  $this
    ->write($filename, true);
}