css-sanitizer
Classes to parse and sanitize CSS
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. More...
 
 toComponentValueArray ()
 @inheritDoc
 
- Public Member Functions inherited from Wikimedia\CSS\Objects\CSSObject
 toTokenArray ()
 Return an array of Tokens that correspond to this object. More...
 

Public Attributes

 $pos = -1
 

Protected Attributes

 $line = -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.


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