CommentField::getCommentByID()

Get a comment by ID or NULL if not found

Usage

$comment = $commentField->getCommentByID($page, int $id);

Arguments

NameType(s)Description
$pagePage int string
$idint

Return value

Comment null


CommentField methods and properties

API reference based on ProcessWire core version 3.0.251