CommentField::voteComment()
Add a vote to the current comment from the current user/IP
Usage
// basic usage
$bool = $commentField->voteComment(Page $page, Comment $comment);
// usage with all arguments
$bool = $commentField->voteComment(Page $page, Comment $comment, bool $up = true);
CommentField methods and properties
API reference based on ProcessWire core version 3.0.251