Breadcrumb
in package
This is the Breadcrumb class, a macro class for the utilViewHelper.
The purpose of this class is to encapsulate the logic that calculates the view parameters for the util's breadcrumb.
Tags
Table of Contents
TAG_DIV | = 'div' | |
---|---|---|
TAG_UL | = 'ul' | |
$data | : array<string|int, mixed>|null | |
$maxLevels | : int | |
$showArea | : bool | |
$showHome | : bool | |
$tag | : string | |
__construct() | Constructor method for Breadcrumb | : mixed |
getViewParameters() | This method returns all calculated arguments and new parameters for UtilViewHelper.php | : array<string|int, mixed> |
getProperties() | Return macro use properties | : array<string|int, mixed> |
Constants
TAG_DIV
public
mixed
TAG_DIV
= 'div'
TAG_UL
public
mixed
TAG_UL
= 'ul'
Properties
$data
public
array<string|int, mixed>|null
$data
= null
$maxLevels
public
int
$maxLevels
= 0
$showArea
public
bool
$showArea
= true
$showHome
public
bool
$showHome
= true
$tag
public
string
$tag
= self::TAG_UL
Methods
__construct()
Constructor method for Breadcrumb
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 UtilViewHelper.php
public
getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getProperties()
Return macro use properties
protected
getProperties() : array<string|int, mixed>