Sabberworm\CSS\CSSList\AtRuleBlockList
A BlockList constructed by an unknown @-rule. @media rules are rendered into AtRuleBlockList objects.
Synopsis
class AtRuleBlockList
extends CSSBlockList
implements
AtRule
{
- // Inherited members from CSSList
- protected $aComments;
- protected $aContents;
- protected $iLineNo;
- // methods
- public void __construct()
- public void atRuleName()
- public void atRuleArgs()
- public void __toString()
- public void render()
- public void isRootList()
- // Inherited methods from CSSBlockList
- public void __construct()
- protected void allDeclarationBlocks()
- protected void allRuleSets()
- protected void allValues()
- protected void allSelectors()
- // Inherited methods from CSSList
- public void __construct()
- public int getLineNo()
- public void append()
- public void remove()
- public void setContents()
- public void removeDeclarationBlockBySelector()
- public void __toString()
- public void render()
- public abstract void isRootList()
- public void getContents()
- public void addComments()
- public array getComments()
- public void setComments()
Hierarchy
Constants
Name | Value |
---|---|
BLOCK_RULES | 'media/document/supports/region-style/font-feature-values' |
SET_RULES | 'font-face/counter-style/page/swash/styleset/annotation' |
Members
private
- $sArgs
- $sType
protected
- $aComments
- $aContents
- $iLineNo
Methods
public
Inherited from Sabberworm\CSS\CSSList\CSSBlockList
protected
Inherited from Sabberworm\CSS\CSSList\CSSList
public
- __toString()
- addComments()
- append()
- getComments()
- getContents()
- getLineNo()
- isRootList() — Return true if the list can not be further outdented. Only important when rendering.
- remove() — Removes an item from the CSS list.
- removeDeclarationBlockBySelector() — Removes a declaration block from the CSS list if it matches all given selectors.
- render()
- setComments()
- setContents() — Set the contents.