css-sanitizer
Classes to parse and sanitize CSS
|
Represent a CSS qualified rule. More...
Public Member Functions | |
__construct (?Token $token=null) | |
@inheritDoc | |
__clone () | |
getPrelude () | |
Return the rule's prelude. | |
getBlock () | |
Return the rule's block. | |
setBlock (?SimpleBlock $block=null) | |
Set the block. | |
toTokenArray () | |
@inheritDoc | |
toComponentValueArray () | |
@inheritDoc | |
__toString () | |
Public Member Functions inherited from Wikimedia\CSS\Objects\Rule | |
__construct (Token $token) | |
getPosition () | |
Get the position of this Declaration in the input stream. | |
Protected Attributes | |
$prelude | |
$block | |
Protected Attributes inherited from Wikimedia\CSS\Objects\Rule | |
$line = -1 | |
$pos = -1 | |
Represent a CSS qualified rule.
Wikimedia\CSS\Objects\QualifiedRule::getBlock | ( | ) |
Return the rule's block.
Wikimedia\CSS\Objects\QualifiedRule::getPrelude | ( | ) |
Return the rule's prelude.
Wikimedia\CSS\Objects\QualifiedRule::setBlock | ( | ?SimpleBlock | $block = null | ) |
Set the block.
SimpleBlock | null | $block |
Wikimedia\CSS\Objects\QualifiedRule::toComponentValueArray | ( | ) |
@inheritDoc
Implements Wikimedia\CSS\Objects\CSSObject.
Wikimedia\CSS\Objects\QualifiedRule::toTokenArray | ( | ) |
@inheritDoc
Implements Wikimedia\CSS\Objects\CSSObject.