Charset
in package
implements
AtRule
Class representing an @charset rule.
The following restrictions apply: • May not be found in any CSSList other than the Document. • May only appear at the very top of a Document’s contents. • Must not appear more than once.
Interfaces, Classes and Traits
Table of Contents
- $aComment : mixed
- $iLineNo : mixed
- $sCharset : mixed
- __construct() : mixed
- __toString() : mixed
- addComments() : mixed
- atRuleArgs() : mixed
- atRuleName() : mixed
- getCharset() : mixed
- getComments() : mixed
- getLineNo() : int
- render() : mixed
- setCharset() : mixed
- setComments() : mixed
Properties
$aComment
protected
mixed
$aComment
$iLineNo
protected
mixed
$iLineNo
$sCharset
private
mixed
$sCharset
Methods
__construct()
public
__construct(mixed $sCharset, mixed $iLineNo) : mixed
Parameters
- $sCharset : mixed
- $iLineNo : mixed
Return values
mixed —__toString()
public
__toString() : mixed
Return values
mixed —addComments()
public
addComments(array<string|int, mixed> $aComments) : mixed
Parameters
- $aComments : array<string|int, mixed>
Return values
mixed —atRuleArgs()
public
atRuleArgs() : mixed
Return values
mixed —atRuleName()
public
atRuleName() : mixed
Return values
mixed —getCharset()
public
getCharset() : mixed
Return values
mixed —getComments()
public
getComments() : mixed
Return values
mixed —getLineNo()
public
getLineNo() : int
Return values
int —render()
public
render(OutputFormat $oOutputFormat) : mixed
Parameters
- $oOutputFormat : OutputFormat
Return values
mixed —setCharset()
public
setCharset(mixed $sCharset) : mixed
Parameters
- $sCharset : mixed
Return values
mixed —setComments()
public
setComments(array<string|int, mixed> $aComments) : mixed
Parameters
- $aComments : array<string|int, mixed>