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: 66 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Charset:: (11 methods):
  __construct()
  getLineNo()
  setCharset()
  getCharset()
  __toString()
  render()
  atRuleName()
  atRuleArgs()
  addComments()
  getComments()
  setComments()


Class: Charset  - X-Ref

Class representing an @charset rule.
The following restrictions apply:
• May not be found in any CSSList other than the Document.
• May only appear at the very top of a Document’s contents.
• Must not appear more than once.

__construct($sCharset, $iLineNo = 0)   X-Ref
No description

getLineNo()   X-Ref

return: int

setCharset($sCharset)   X-Ref
No description

getCharset()   X-Ref
No description

__toString()   X-Ref
No description

render(\Sabberworm\CSS\OutputFormat $oOutputFormat)   X-Ref
No description

atRuleName()   X-Ref
No description

atRuleArgs()   X-Ref
No description

addComments(array $aComments)   X-Ref
No description

getComments()   X-Ref
No description

setComments(array $aComments)   X-Ref
No description