Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Sabberworm\CSS\Value\LineName Class Reference
Inheritance diagram for Sabberworm\CSS\Value\LineName:
Sabberworm\CSS\Value\ValueList Sabberworm\CSS\Value\Value Sabberworm\CSS\Renderable

Public Member Functions

 __construct (array $aComponents=[], $iLineNo=0)
 
 __toString ()
 
 addListComponent ($mComponent)
 
 getLineNo ()
 
 getListComponents ()
 
 getListSeparator ()
 
 render (OutputFormat $oOutputFormat)
 
 setListComponents (array $aComponents)
 
 setListSeparator ($sSeparator)
 

Static Public Member Functions

static parse (ParserState $oParserState)
 
static parseIdentifierOrFunction (ParserState $oParserState, $bIgnoreCase=false)
 
static parsePrimitiveValue (ParserState $oParserState)
 
static parseValue (ParserState $oParserState, array $aListDelimiters=[])
 

Public Attributes

$this sSeparator = $sSeparator
 

Protected Attributes

int $iLineNo
 
array< int, $aComponents;protected string $sSeparator;public function __construct( $aComponents=[], $sSeparator=',', $iLineNo=0) { parent::__construct( $iLineNo);if(!is_array( $aComponents)) { $aComponents=[ $aComponents];} $this-> aComponents = $aComponents
 

Member Function Documentation

◆ __toString()

Sabberworm\CSS\Value\LineName::__toString ( )
Return values
string

Reimplemented from Sabberworm\CSS\Value\ValueList.

◆ addListComponent()

Sabberworm\CSS\Value\ValueList::addListComponent ( $mComponent)
inherited
Parameters
RuleValueList | CSSFunction | CSSString | LineName | Size | URL | string$mComponent
Return values
void

◆ getLineNo()

Sabberworm\CSS\Value\Value::getLineNo ( )
inherited
Return values
int

Implements Sabberworm\CSS\Renderable.

◆ getListComponents()

Sabberworm\CSS\Value\ValueList::getListComponents ( )
inherited
Return values
array<int,RuleValueList|CSSFunction|CSSString|LineName|Size|URL|string>

◆ getListSeparator()

Sabberworm\CSS\Value\ValueList::getListSeparator ( )
inherited
Return values
string

◆ parse()

static Sabberworm\CSS\Value\LineName::parse ( ParserState $oParserState)
static
Return values
LineName
Exceptions
UnexpectedTokenException
UnexpectedEOFException

◆ parseIdentifierOrFunction()

static Sabberworm\CSS\Value\Value::parseIdentifierOrFunction ( ParserState $oParserState,
$bIgnoreCase = false )
staticinherited
Parameters
bool$bIgnoreCase
Return values
CSSFunction|string
Exceptions
UnexpectedEOFException
UnexpectedTokenException

◆ parsePrimitiveValue()

static Sabberworm\CSS\Value\Value::parsePrimitiveValue ( ParserState $oParserState)
staticinherited
Return values
CSSFunction|CSSString|LineName|Size|URL|string
Exceptions
UnexpectedEOFException
UnexpectedTokenException
SourceException

◆ parseValue()

static Sabberworm\CSS\Value\Value::parseValue ( ParserState $oParserState,
array $aListDelimiters = [] )
staticinherited
Parameters
array<array-key,string>$aListDelimiters
Return values
RuleValueList|CSSFunction|CSSString|LineName|Size|URL|string
Exceptions
UnexpectedTokenException
UnexpectedEOFException

◆ render()

Sabberworm\CSS\Value\LineName::render ( OutputFormat $oOutputFormat)
Return values
string

Reimplemented from Sabberworm\CSS\Value\ValueList.

◆ setListComponents()

Sabberworm\CSS\Value\ValueList::setListComponents ( array $aComponents)
inherited
Parameters
array<int,RuleValueList|CSSFunction|CSSString|LineName|Size|URL|string>$aComponents
Return values
void

◆ setListSeparator()

Sabberworm\CSS\Value\ValueList::setListSeparator ( $sSeparator)
inherited
Parameters
string$sSeparator
Return values
void

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