Свойство | Тип | Описание | |
---|---|---|---|
$aComments | |||
$aContents | |||
$iLineNo |
Метод | Описание | |
---|---|---|
__construct ( $iLineNo ) | ||
__toString ( ) | ||
addComments ( array $aComments ) | ||
append ( $oItem ) | ||
getComments ( ) : array | ||
getContents ( ) | ||
getLineNo ( ) : integer | ||
isRootList ( ) | Return true if the list can not be further outdented. Only important when rendering. | |
remove ( Sabberworm\CSS\RuleSet\RuleSet | Import | Charset | |
Removes an item from the CSS list. | |
removeDeclarationBlockBySelector ( array | string $mSelector, boolean $bRemoveAll = false ) | Removes a declaration block from the CSS list if it matches all given selectors. | |
render ( Sabberworm\CSS\OutputFormat $oOutputFormat ) | ||
setComments ( array $aComments ) | ||
setContents ( array $aContents ) | Set the contents. |
public addComments ( array $aComments ) | ||
$aComments | array | Array of comments. |
abstract public isRootList ( ) |
public remove ( Sabberworm\CSS\RuleSet\RuleSet | Import | Charset | |
||
$oItemToRemove | Sabberworm\CSS\RuleSet\RuleSet | Import | Charset | |
May be a RuleSet (most likely a DeclarationBlock), a Import, a Charset or another CSSList (most likely a MediaQuery) |
public render ( Sabberworm\CSS\OutputFormat $oOutputFormat ) | ||
$oOutputFormat | Sabberworm\CSS\OutputFormat |
public setComments ( array $aComments ) | ||
$aComments | array | Array containing Comment objects. |
public setContents ( array $aContents ) | ||
$aContents | array | Objects to set as content. |