CommentsForm
in package

This is the CommentsForm class, a macro class for the blogViewHelper.

The purpose of this class is to encapsulate the logic that calculates the view parameters for the blog's comments form.

Tags
see
CommentsForm::getViewParameters()

Table of Contents

$blogSettings  : BlogSettings|null
$form  : Form|null
$showTitle  : bool
__construct() Constructor method for CommentsForm class.  : mixed
getViewParameters() This method returns all calculated arguments and new parameters for BlogViewHelper.php  : array<string|int, mixed>
getProperties() Return macro use properties  : array<string|int, mixed>

Properties

$blogSettings

public BlogSettings|null $blogSettings = null

Methods

__construct()

Constructor method for CommentsForm class.

public __construct(array<string|int, mixed> $arguments, Session|null $session) : mixed
Parameters
$arguments : array<string|int, mixed>
$session : Session|null
Tags
see
CommentsForm
Return values
mixed

getViewParameters()

This method returns all calculated arguments and new parameters for BlogViewHelper.php

public getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed>

getProperties()

Return macro use properties

protected getProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results