CalcFunction
extends CSSFunction
in package
Support for `-webkit-calc` and `-moz-calc` is deprecated in version 8.8.0, and will be removed in version 9.0.0.
Table of Contents
- __construct() : mixed
- __toString() : string
- addListComponent() : void
- getArguments() : 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>
- 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
- getName() : string
- render() : string
- setListComponents() : void
- setListSeparator() : void
- setName() : void
- parseMicrosoftFilter() : CSSFunction
- parseUnicodeRangeValue() : string
Methods
__construct()
public
__construct(int $iLineNo) : mixed
Parameters
- $iLineNo : int
Return values
mixed —__toString()
public
__toString() : string
Tags
Return values
string —addListComponent()
public
addListComponent(RuleValueList|CSSFunction|CSSString|LineName|Size|URL|string $mComponent) : void
Parameters
- $mComponent : RuleValueList|CSSFunction|CSSString|LineName|Size|URL|string
Return values
void —getArguments()
public
getArguments() : 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> —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> —getListSeparator()
public
getListSeparator() : string
Return values
string —getName()
public
getName() : string
Return values
string —render()
public
render(OutputFormat|null $oOutputFormat) : string
Parameters
- $oOutputFormat : OutputFormat|null
Return values
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 —setListSeparator()
public
setListSeparator(string $sSeparator) : void
Parameters
- $sSeparator : string
Return values
void —setName()
public
setName(string $sName) : void
Parameters
- $sName : string
Return values
void —parseMicrosoftFilter()
private
static parseMicrosoftFilter(ParserState $oParserState) : CSSFunction
Parameters
- $oParserState : ParserState
Tags
Return values
CSSFunction —parseUnicodeRangeValue()
private
static parseUnicodeRangeValue(ParserState $oParserState) : string
Parameters
- $oParserState : ParserState
