CommentArray::getCommentList()

Return instance of CommentList object

Usage

// basic usage
$commentList = $commentArray->getCommentList();

// usage with all arguments
$commentList = $commentArray->getCommentList(array $options = []);

Arguments

NameType(s)Description
$options (optional)array

See CommentList::$options for details, plus:

  • className (string): PHP class name to use for CommentList Default:'CommentList'

Return value


CommentArray methods and properties

API reference based on ProcessWire core version 3.0.251