WooCommerce Code Reference

Charset
in package
implements AtRule, Positionable Uses Position

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.

Interfaces, Classes and Traits

AtRule
Positionable
Represents a CSS item that may have a position in the source CSS document (line number and possibly column number).

Table of Contents

$oCharset  : CSSString
__construct()  : mixed
__toString()  : string
addComments()  : void
atRuleArgs()  : string
atRuleName()  : string
getCharset()  : string
getComments()  : array<array-key, Comment>
render()  : string
setCharset()  : void
setComments()  : void

Properties

Methods