Sabberworm\CSS\CSSList\CSSBlockList
A CSSBlockList is a CSSList whose DeclarationBlocks are guaranteed to contain valid declaration blocks or at-rules.
Most CSSLists conform to this category but some at-rules (such as @keyframes) do not.
Synopsis
class CSSBlockList
extends CSSList
{
- // Inherited members from CSSList
- protected $aComments;
- protected $aContents;
- protected $iLineNo;
- // methods
- 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
Extends
Members
protected
- $aComments
- $aContents
- $iLineNo
Methods
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.