PageContent
in package
This is the PageContent class, a macro class for the PageViewHelper.
The purpose of this class is to encapsulate the logic that calculates the view parameters for the user's PageContent.
Tags
Table of Contents
$data | : array<string|int, mixed> | |
---|---|---|
$page | : Page|null | |
__construct() | Constructor method for PageContent. | : mixed |
getViewParameters() | This method returns all calculated arguments and new parameters for PageViewHelper.php | : array<string|int, mixed> |
getProperties() | Return macro use properties | : array<string|int, mixed> |
Properties
$data
public
array<string|int, mixed>
$data
= []
$page
public
Page|null
$page
= null
Methods
__construct()
Constructor method for PageContent.
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 PageViewHelper.php
public
getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getProperties()
Return macro use properties
protected
getProperties() : array<string|int, mixed>