CommentArray::getCommentForm()

Return instance of CommentForm object

Usage

// basic usage
$commentForm = $commentArray->getCommentForm();

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

Arguments

NameType(s)Description
$options (optional)array

Return value

Exceptions

Method can throw exceptions on error:

  • WireException


CommentArray methods and properties

API reference based on ProcessWire core version 3.0.251