Comment
Table of Contents
Methods
- __construct() : mixed
- actionsAfter() : bool
- checkDuplicate() : bool
- getById() : mixed
- getFields() : array<string|int, mixed>
- processCommentShare() : mixed
- setFields() : void
Methods
__construct()
public
__construct() : mixed
actionsAfter()
public
static actionsAfter(array<string|int, mixed> $params) : bool
Parameters
- $params : array<string|int, mixed>
Return values
boolcheckDuplicate()
public
static checkDuplicate([array<string|int, mixed> $params = [] ][, int &$duplicateCommentId = 0 ]) : bool
Parameters
- $params : array<string|int, mixed> = []
- $duplicateCommentId : int = 0
Return values
boolgetById()
public
static getById([mixed $commentId = 0 ]) : mixed
Parameters
- $commentId : mixed = 0
getFields()
public
getFields() : array<string|int, mixed>
Return values
array<string|int, mixed>processCommentShare()
public
static processCommentShare([mixed $params = [] ]) : mixed
Parameters
- $params : mixed = []
setFields()
public
setFields([mixed $fields = [] ]) : void
Parameters
- $fields : mixed = []