Documentation

CommentTrait

CSS comment trait

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

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

license

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

version
2.0.0

Table of Contents

Properties

$comments  : array<string|int, mixed>
Comments

Methods

addComment()  : static
Add CSS comment
getComments()  : array<string|int, mixed>
Get CSS comments
hasComments()  : bool
Has CSS comments

Properties

$comments

Comments

protected array<string|int, mixed> $comments = []

Methods

addComment()

Add CSS comment

public addComment(Comment|string $comment[, int $wrap = 80 ][, bool $trailingNewLine = false ]) : static
Parameters
$comment : Comment|string
$wrap : int = 80
$trailingNewLine : bool = false
Return values
static

getComments()

Get CSS comments

public getComments() : array<string|int, mixed>
Return values
array<string|int, mixed>

hasComments()

Has CSS comments

public hasComments() : bool
Return values
bool

        
On this page

Search results