Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 400 and 401] [Versions 400 and 402] [Versions 400 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