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

Represent a CSS component value. More...

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

Public Member Functions

 getPosition ()
 Get the position of this ComponentValue in the input stream.
 
 toComponentValueArray ()
 @inheritDoc
 
- Public Member Functions inherited from Wikimedia\CSS\Objects\CSSObject
 toTokenArray ()
 Return an array of Tokens that correspond to this object.
 

Protected Attributes

 $line = -1
 
 $pos = -1
 

Detailed Description

Represent a CSS component value.

Member Function Documentation

◆ getPosition()

Wikimedia\CSS\Objects\ComponentValue::getPosition ( )

Get the position of this ComponentValue in the input stream.

Returns
array [ $line, $pos ]

Implements Wikimedia\CSS\Objects\CSSObject.

◆ toComponentValueArray()

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

@inheritDoc

Implements Wikimedia\CSS\Objects\CSSObject.

Reimplemented in Wikimedia\CSS\Objects\Token.


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