Breadcrumbs
extends AbstractStandalone
in package
Helper for setting and retrieving breadcrumbs.
Tags
Table of Contents
Methods
- addBreadcrumb() : $this
- Add a breadcrumb to the container. By default, the breadcrumb is placed after the last breadcrumb (or first if no other breadcrumbs have been added). This behaviour can be changed by setting `$setType`.
- append() : AbstractContainer
- Append
- prepend() : AbstractContainer
- Prepend
- set() : AbstractContainer
- Set
- toString() : string
Methods
addBreadcrumb()
Add a breadcrumb to the container. By default, the breadcrumb is placed after the last breadcrumb (or first if no other breadcrumbs have been added). This behaviour can be changed by setting `$setType`.
public
addBreadcrumb([string $breadcrumb = '' ][, bool $active = true ][, string $url = '' ][, string|null $setType = null ]) : $this
Parameters
- $breadcrumb : string = ''
- $active : bool = true
- $url : string = ''
- $setType : string|null = null
Return values
$thisappend()
Append
public
append(array<string|int, mixed> $value) : AbstractContainer
Parameters
- $value : array<string|int, mixed>
Tags
Return values
AbstractContainerprepend()
Prepend
public
prepend(array<string|int, mixed> $value) : AbstractContainer
Parameters
- $value : array<string|int, mixed>
Tags
Return values
AbstractContainerset()
Set
public
set(array<string|int, mixed> $value) : AbstractContainer
Parameters
- $value : array<string|int, mixed>
Tags
Return values
AbstractContainertoString()
public
toString() : string