Documentation

Comment
in package

Pop CSS comment class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2023 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
1.1.0

Table of Contents

$comment  : string
Comment string
__construct()  : mixed
Constructor
__toString()  : string
To string method
getComment()  : string
Get comment
render()  : string
Method to render the selector CSS
setComment()  : self
Set comment

Properties

$comment

Comment string

protected string $comment = null

Methods

__construct()

Constructor

public __construct(string $comment) : mixed

Instantiate the CSS comment object

Parameters
$comment : string
Return values
mixed

__toString()

To string method

public __toString() : string
Return values
string

getComment()

Get comment

public getComment() : string
Return values
string

render()

Method to render the selector CSS

public render() : string
Return values
string

setComment()

Set comment

public setComment(string $comment) : self
Parameters
$comment : string
Return values
self

Search results