Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

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