WooCommerce Code Reference

LineName extends ValueList
in package

A `ValueList` represents a lists of `Value`s, separated by some separation character (mostly `,`, whitespace, or `/`).

There are two types of ValueLists: RuleValueList and CSSFunction

Table of Contents

__construct()  : mixed
phpcs:ignore Generic.Files.LineLength
__toString()  : string
addListComponent()  : void
getListComponents()  : array<int, \Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\RuleValueList|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\CSSFunction|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\CSSString|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\LineName|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\Size|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\URL|string>
getListSeparator()  : string
render()  : string
setListComponents()  : void
setListSeparator()  : void
parseMicrosoftFilter()  : CSSFunction
parseUnicodeRangeValue()  : string

Methods

__construct()

phpcs:ignore Generic.Files.LineLength

public __construct([array<int, \Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\RuleValueList|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\CSSFunction|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\CSSString|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\LineName|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\Size|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\URL|string> $aComponents = [] ], int $iLineNo) : mixed
Parameters
$aComponents : array<int, \Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\RuleValueList|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\CSSFunction|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\CSSString|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\LineName|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\Size|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\URL|string> = []
$iLineNo : int
Return values
mixed

getListComponents()

public getListComponents() : array<int, \Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\RuleValueList|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\CSSFunction|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\CSSString|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\LineName|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\Size|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\URL|string>
Return values
array<int, \Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\RuleValueList|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\CSSFunction|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\CSSString|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\LineName|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\Size|\Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value\URL|string>

setListComponents()

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