css-sanitizer
Classes to parse and sanitize CSS
|
Represent a list of declarations. More...
Protected Member Functions | |
getSeparator (CSSObject $left, ?CSSObject $right=null) | |
@inheritDoc | |
Static Protected Attributes | |
static | $objectType = Declaration::class |
Static Protected Attributes inherited from Wikimedia\CSS\Objects\CSSObjectList | |
static | $objectType |
Additional Inherited Members | |
Public Member Functions inherited from Wikimedia\CSS\Objects\CSSObjectList | |
__construct (array $objects=[]) | |
add ( $objects, $index=null) | |
Insert one or more objects into the list. | |
remove ( $index) | |
Remove an object from the list. | |
slice ( $offset, $length=null) | |
Extract a slice of the list. | |
clear () | |
Clear the list. | |
count () | |
@inheritDoc | |
seek (int $offset) | |
@inheritDoc | |
current () | |
@inheritDoc | |
key () | |
@inheritDoc | |
next () | |
@inheritDoc | |
rewind () | |
@inheritDoc | |
valid () | |
@inheritDoc | |
offsetExists ( $offset) | |
@inheritDoc | |
offsetGet ( $offset) | |
@inheritDoc | |
offsetSet ( $offset, $value) | |
@inheritDoc | |
offsetUnset ( $offset) | |
@inheritDoc | |
getPosition () | |
@inheritDoc | |
toTokenArray () | |
@inheritDoc | |
toComponentValueArray () | |
@inheritDoc | |
__toString () | |
Static Protected Member Functions inherited from Wikimedia\CSS\Objects\CSSObjectList | |
static | testObjects (array $objects) |
Additional validation for objects. | |
Protected Attributes inherited from Wikimedia\CSS\Objects\CSSObjectList | |
$objects | |
$offset = 0 | |
Represent a list of declarations.
|
protected |
@inheritDoc
Reimplemented from Wikimedia\CSS\Objects\CSSObjectList.