Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
Sabberworm\CSS\Parser Class Reference
Inheritance diagram for Sabberworm\CSS\Parser:
core_cssparser

Public Member Functions

 __construct ($sText, Settings $oParserSettings=null, $iLineNo=1)
 
 getCharset ()
 
 parse ()
 
 setCharset ($sCharset)
 

Constructor & Destructor Documentation

◆ __construct()

Sabberworm\CSS\Parser::__construct ( $sText,
Settings $oParserSettings = null,
$iLineNo = 1 )
Parameters
string$sText
Settings | null$oParserSettings
int$iLineNothe line number (starting from 1, not from 0)

Member Function Documentation

◆ getCharset()

Sabberworm\CSS\Parser::getCharset ( )
Return values
void

◆ parse()

Sabberworm\CSS\Parser::parse ( )
Return values
Document
Exceptions
SourceException

◆ setCharset()

Sabberworm\CSS\Parser::setCharset ( $sCharset)
Parameters
string$sCharset
Return values
void

The documentation for this class was generated from the following file: