Parser
in package
Parser class parses CSS from text into a data structure.
Table of Contents
- $oParserState : mixed
- __construct() : mixed
- Parser constructor.
- getCharset() : mixed
- parse() : mixed
- setCharset() : mixed
Properties
$oParserState
private
mixed
$oParserState
Methods
__construct()
Parser constructor.
public
__construct( $sText[, Settings|null $oParserSettings = null ][, int $iLineNo = 1 ]) : mixed
Note that that iLineNo starts from 1 and not 0
Parameters
- $sText :
- $oParserSettings : Settings|null = null
- $iLineNo : int = 1
Return values
mixed —getCharset()
public
getCharset() : mixed
Return values
mixed —parse()
public
parse() : mixed
Return values
mixed —setCharset()
public
setCharset(mixed $sCharset) : mixed
Parameters
- $sCharset : mixed