BloggerInformation
in package
This is the BloggerInformation class, a macro class for the blogViewHelper.
The purpose of this class is to encapsulate the logic that calculates the view parameters for the user's BloggerInformation.
Tags
Table of Contents
$blogger | : Blogger|null | |
---|---|---|
$showDescription | : bool | |
$showLabel | : bool | |
$showName | : bool | |
__construct() | Constructor method for BloggerInformation. | : mixed |
getViewParameters() | This method returns all calculated arguments and new parameters for UserViewHelper.php | : array<string|int, mixed> |
getProperties() | Return macro use properties | : array<string|int, mixed> |
Properties
$blogger
public
Blogger|null
$blogger
= null
$showDescription
public
bool
$showDescription
= true
$showLabel
public
bool
$showLabel
= true
$showName
public
bool
$showName
= true
Methods
__construct()
Constructor method for BloggerInformation.
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 UserViewHelper.php
public
getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getProperties()
Return macro use properties
protected
getProperties() : array<string|int, mixed>