Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 311 and 401] [Versions 311 and 402] [Versions 311 and 403]

(no description)

File Size: 41 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Parser:: (4 methods):
  __construct()
  setCharset()
  getCharset()
  parse()


Class: Parser  - X-Ref

Parser class parses CSS from text into a data structure.

__construct($sText, Settings $oParserSettings = null, $iLineNo = 1)   X-Ref
Parser constructor.
Note that that iLineNo starts from 1 and not 0

param: $sText
param: Settings|null $oParserSettings
param: int $iLineNo

setCharset($sCharset)   X-Ref
No description

getCharset()   X-Ref
No description

parse()   X-Ref
No description