Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
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: