Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
core_cssparser Class Reference

Moodle CSS parser. More...

Inheritance diagram for core_cssparser:
Sabberworm\CSS\Parser

Public Member Functions

 __construct ($css)
 Constructor.
 
 getCharset ()
 
 parse ()
 
 setCharset ($sCharset)
 

Detailed Description

Moodle CSS parser.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

core_cssparser::__construct ( $css)

Constructor.

Parameters
string$cssThe CSS content.

Member Function Documentation

◆ getCharset()

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

◆ parse()

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

◆ setCharset()

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

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