Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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: