Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Sabberworm\CSS\Comment\Comment Class Reference
Inheritance diagram for Sabberworm\CSS\Comment\Comment:
Sabberworm\CSS\Renderable

Public Member Functions

 __construct ($sComment='', $iLineNo=0)
 
 __toString ()
 
 getComment ()
 
 getLineNo ()
 
 render (OutputFormat $oOutputFormat)
 
 setComment ($sComment)
 

Protected Attributes

int $iLineNo
 
string $sComment
 

Constructor & Destructor Documentation

◆ __construct()

Sabberworm\CSS\Comment\Comment::__construct ( $sComment = '',
$iLineNo = 0 )
Parameters
string$sComment
int$iLineNo

Member Function Documentation

◆ __toString()

Sabberworm\CSS\Comment\Comment::__toString ( )
Return values
string

Implements Sabberworm\CSS\Renderable.

◆ getComment()

Sabberworm\CSS\Comment\Comment::getComment ( )
Return values
string

◆ getLineNo()

Sabberworm\CSS\Comment\Comment::getLineNo ( )
Return values
int

Implements Sabberworm\CSS\Renderable.

◆ render()

Sabberworm\CSS\Comment\Comment::render ( OutputFormat $oOutputFormat)
Return values
string

Implements Sabberworm\CSS\Renderable.

◆ setComment()

Sabberworm\CSS\Comment\Comment::setComment ( $sComment)
Parameters
string$sComment
Return values
void

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