CommentReader
Class CommentReader
Table of Contents
Methods
- getCommentData() : array<string|int, mixed>
- getCommentId() : int
- getInstance() : static
- isContainCodes() : bool
- Checks if comment contains codes from $codes (all codes from $codes if $all).
- read() : void
- setCommentData() : void
- setCommentId() : void
Methods
getCommentData()
public
getCommentData() : array<string|int, mixed>
Return values
array<string|int, mixed>getCommentId()
public
getCommentId() : int
Return values
intgetInstance()
public
static getInstance(int $taskId[, int $commentId = 0 ]) : static
Parameters
- $taskId : int
- $commentId : int = 0
Return values
staticisContainCodes()
Checks if comment contains codes from $codes (all codes from $codes if $all).
public
isContainCodes(array<string|int, mixed> $codes[, bool $all = false ]) : bool
Parameters
- $codes : array<string|int, mixed>
- $all : bool = false
Return values
boolread()
public
read() : void
Tags
setCommentData()
public
setCommentData(array<string|int, mixed> $commentData) : void
Parameters
- $commentData : array<string|int, mixed>
setCommentId()
public
setCommentId(int $commentId) : void
Parameters
- $commentId : int