Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250711) (9addea9f0ac)
Sabberworm\CSS\Property\Charset Class Reference
Inheritance diagram for Sabberworm\CSS\Property\Charset:
Sabberworm\CSS\Property\AtRule Sabberworm\CSS\Renderable Sabberworm\CSS\Comment\Commentable

Public Member Functions

 __toString ()
 
 addComments (array $aComments)
 
 atRuleArgs ()
 
 atRuleName ()
 
 getCharset ()
 
 getComments ()
 
 getLineNo ()
 
 render ($oOutputFormat)
 
 setCharset ($sCharset)
 
 setComments (array $aComments)
 

Public Attributes

$this aComments = []
 
string const BLOCK_RULES = 'media/document/supports/region-style/font-feature-values'
 
$this iLineNo = $iLineNo
 
string const SET_RULES = 'font-face/counter-style/page/swash/styleset/annotation'
 … and more font-specific ones (to be used inside font-feature-values)
 

Protected Attributes

int $iLineNo
 
array< array-key, $aComments;public function __construct(CSSString $oCharset, $iLineNo=0) { $this-> oCharset = $oCharset
 Comment>
 

Member Function Documentation

◆ __toString()

Sabberworm\CSS\Property\Charset::__toString ( )
Return values
string

Implements Sabberworm\CSS\Renderable.

◆ addComments()

Sabberworm\CSS\Property\Charset::addComments ( array $aComments)
Parameters
array<array-key,Comment>$aComments
Return values
void

Implements Sabberworm\CSS\Comment\Commentable.

◆ atRuleArgs()

Sabberworm\CSS\Property\Charset::atRuleArgs ( )
Return values
string

Implements Sabberworm\CSS\Property\AtRule.

◆ atRuleName()

Sabberworm\CSS\Property\Charset::atRuleName ( )
Return values
string

Implements Sabberworm\CSS\Property\AtRule.

◆ getCharset()

Sabberworm\CSS\Property\Charset::getCharset ( )
Return values
string

◆ getComments()

Sabberworm\CSS\Property\Charset::getComments ( )
Return values
array<array-key,Comment>

Implements Sabberworm\CSS\Comment\Commentable.

◆ getLineNo()

Sabberworm\CSS\Property\Charset::getLineNo ( )
Return values
int

Implements Sabberworm\CSS\Renderable.

◆ render()

Sabberworm\CSS\Property\Charset::render ( $oOutputFormat)
Parameters
OutputFormat | null$oOutputFormat
Return values
string

Implements Sabberworm\CSS\Renderable.

◆ setCharset()

Sabberworm\CSS\Property\Charset::setCharset ( $sCharset)
Parameters
string | CSSString$oCharset
Return values
void

◆ setComments()

Sabberworm\CSS\Property\Charset::setComments ( array $aComments)
Parameters
array<array-key,Comment>$aComments
Return values
void

Implements Sabberworm\CSS\Comment\Commentable.


The documentation for this class was generated from the following file: