css-sanitizer
Classes to parse and sanitize CSS
Loading...
Searching...
No Matches
Wikimedia\CSS\Objects\ComponentValueList Class Reference

Represent a list of CSS declarations. More...

+ Inheritance diagram for Wikimedia\CSS\Objects\ComponentValueList:
+ Collaboration diagram for Wikimedia\CSS\Objects\ComponentValueList:

Public Member Functions

 toComponentValueArray ()
 @inheritDoc
 
- 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
 
 __toString ()
 

Static Protected Member Functions

static testObjects (array $objects)
 @inheritDoc
 

Static Protected Attributes

static $objectType = ComponentValue::class
 
- Static Protected Attributes inherited from Wikimedia\CSS\Objects\CSSObjectList
static $objectType
 

Additional Inherited Members

- Protected Member Functions inherited from Wikimedia\CSS\Objects\CSSObjectList
 getSeparator (CSSObject $left, CSSObject $right=null)
 Return the tokens to use to separate list items.
 
- Protected Attributes inherited from Wikimedia\CSS\Objects\CSSObjectList
 $objects
 
 $offset = 0
 

Detailed Description

Represent a list of CSS declarations.

Member Function Documentation

◆ testObjects()

static Wikimedia\CSS\Objects\ComponentValueList::testObjects ( array $objects)
staticprotected

@inheritDoc

Reimplemented from Wikimedia\CSS\Objects\CSSObjectList.

◆ toComponentValueArray()

Wikimedia\CSS\Objects\ComponentValueList::toComponentValueArray ( )

@inheritDoc

Reimplemented from Wikimedia\CSS\Objects\CSSObjectList.


The documentation for this class was generated from the following file: