Documentation

Breadcrumb extends Component
in package

Table of Contents

$links  : array<string|int, mixed>
__construct()  : void
Create a new Breadcrumb component instance.
render()  : View|string
Get the view / contents that represent the component.

Properties

public array<string|int, mixed> $links = []

Methods

__construct()

Create a new Breadcrumb component instance.

public __construct([array<string|int, mixed> $links = [] ]) : void
Parameters
$links : array<string|int, mixed> = []

An array of breadcrumb links where key is the label and value is the URL (default: [])

Return values
void

render()

Get the view / contents that represent the component.

public render() : View|string
Return values
View|string

Search results