RichSnippets
in package
This is the RichSnippets class, a macro class for the CategoryViewHelper.
The purpose of this class is to encapsulate the logic that calculates the view parameters for the categories rich snippets.
Tags
Table of Contents
$richSnippets | : CategoryRichSnippets|null | |
---|---|---|
__construct() | Constructor method for RichSnippets class. | : mixed |
getViewParameters() | This method returns all calculated arguments and new parameters for CategoryViewHelper.php | : array<string|int, mixed> |
getProperties() | Return macro use properties | : array<string|int, mixed> |
Properties
$richSnippets
public
CategoryRichSnippets|null
$richSnippets
= null
Methods
__construct()
Constructor method for RichSnippets 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 CategoryViewHelper.php
public
getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getProperties()
Return macro use properties
protected
getProperties() : array<string|int, mixed>