See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401]
(no description)
File Size: | 172 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Document:: (11 methods):
__construct()
parse()
getAllDeclarationBlocks()
getAllSelectors()
getAllRuleSets()
getAllValues()
getSelectorsBySpecificity()
expandShorthands()
createShorthands()
render()
isRootList()
__construct($iLineNo = 0) X-Ref |
param: int $iLineNo |
parse(ParserState $oParserState) X-Ref |
return: Document |
getAllDeclarationBlocks() X-Ref |
Gets all `DeclarationBlock` objects recursively. return: array<int, DeclarationBlock> |
getAllSelectors() X-Ref |
Gets all `DeclarationBlock` objects recursively. return: array<int, DeclarationBlock> |
getAllRuleSets() X-Ref |
Returns all `RuleSet` objects found recursively in the tree. return: array<int, RuleSet> |
getAllValues($mElement = null, $bSearchInFunctionArguments = false) X-Ref |
Returns all `Value` objects found recursively in the tree. param: CSSList|RuleSet|string $mElement param: bool $bSearchInFunctionArguments whether to also return Value objects used as Function arguments. return: array<int, Value> |
getSelectorsBySpecificity($sSpecificitySearch = null) X-Ref |
Returns all `Selector` objects found recursively in the tree. Note that this does not yield the full `DeclarationBlock` that the selector belongs to (and, currently, there is no way to get to that). param: string|null $sSpecificitySearch return: array<int, Selector> |
expandShorthands() X-Ref |
Expands all shorthand properties to their long value. return: void |
createShorthands() X-Ref |
Create shorthands properties whenever possible. return: void |
render(OutputFormat $oOutputFormat = null) X-Ref |
Overrides `render()` to make format argument optional. param: OutputFormat|null $oOutputFormat return: string |
isRootList() X-Ref |
return: bool |