Public Member Functions | |
breadcrumbs ($basetitle, $baseurl) | |
addCrumb ($title, $url) | |
render () | |
Public Attributes | |
$crumbs | |
An array of crumbs. |
Definition at line 47 of file shared-pretties.php.
breadcrumbs::breadcrumbs | ( | $ | basetitle, | |
$ | baseurl | |||
) |
Constructor for the breadcrumbs handling class
basetitle | The translated title of the base element of the breadcrumbs trail | |
baseurl | The url of the base element of the breadcrumbs trail |
Definition at line 57 of file shared-pretties.php.
breadcrumbs::addCrumb | ( | $ | title, | |
$ | url | |||
) |
Add a breadcrumb to the breadcrumbs trail
title | The translated title of the breadcrumbs trail | |
url | The URL to link to |
Definition at line 70 of file shared-pretties.php.
breadcrumbs::render | ( | ) |
Render the actual breadcrumbs trail
Definition at line 80 of file shared-pretties.php.
breadcrumbs::$crumbs |