CSSNamespace
in package
implements
AtRule, Positionable
Uses
Position
`CSSNamespace` represents an `@namespace` rule.
Interfaces, Classes and Traits
- AtRule
- Positionable
- Represents a CSS item that may have a position in the source CSS document (line number and possibly column number).
Table of Contents
- $iLineNo : int
- $mUrl : string
- $sPrefix : string
- __construct() : mixed
- __toString() : string
- addComments() : void
- atRuleArgs() : array<int, string>
- atRuleName() : string
- getComments() : array<array-key, Comment>
- getPrefix() : string|null
- getUrl() : string
- render() : string
- setComments() : void
- setPrefix() : void
- setUrl() : void
Properties
$iLineNo
private
int
$iLineNo
$mUrl
private
string
$mUrl
$sPrefix
private
string
$sPrefix
Methods
__construct()
public
__construct(string $mUrl[, string|null $sPrefix = null ], int $iLineNo) : mixed
Parameters
- $mUrl : string
- $sPrefix : string|null = null
- $iLineNo : int
Return values
mixed —__toString()
public
__toString() : string
Tags
Return values
string —addComments()
public
addComments(array<array-key, Comment> $aComments) : void
Parameters
- $aComments : array<array-key, Comment>
Return values
void —atRuleArgs()
public
atRuleArgs() : array<int, string>
Return values
array<int, string> —atRuleName()
public
atRuleName() : string
Return values
string —getComments()
public
getComments() : array<array-key, Comment>
Return values
array<array-key, Comment> —getPrefix()
public
getPrefix() : string|null
Return values
string|null —getUrl()
public
getUrl() : string
Return values
string —render()
public
render(OutputFormat|null $oOutputFormat) : string
Parameters
- $oOutputFormat : OutputFormat|null
Return values
string —setComments()
public
setComments(array<array-key, Comment> $aComments) : void
Parameters
- $aComments : array<array-key, Comment>
Return values
void —setPrefix()
public
setPrefix(string $sPrefix) : void
Parameters
- $sPrefix : string
Return values
void —setUrl()
public
setUrl(string $mUrl) : void
Parameters
- $mUrl : string
