PerformantPage::PerformantBreadcrumbs
Return a breadcrumb trail to this page. Excludes "hidden" pages (with ShowInMenus=0) by default.
Signature
public function PerformantBreadcrumbs([integer
$maxDepth = 20,
[boolean
$unlinked = false,
[boolean
$stopAtPageType = false,
[boolean
$showHidden = false]]]] )
Parameters
$maxDepth
—
integer
- The maximum depth to traverse.
$unlinked
—
boolean
- Do not make page names links
$stopAtPageType
—
boolean
- ClassName of a page to stop the upwards traversal.
$showHidden
—
boolean
- Include pages marked with the attribute ShowInMenus = 0
Returns
- HTMLText
- The breadcrumb trail.