Comments
in package
This is the Comments 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.
Tags
Table of Contents
$comments | : array<string|int, mixed> | |
---|---|---|
__construct() | Constructor method for Comments 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
$comments
public
array<string|int, mixed>
$comments
= []
Methods
__construct()
Constructor method for Comments class.
public
__construct(array<string|int, mixed> $arguments) : mixed
Parameters
- $arguments : array<string|int, mixed>
Tags
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>