![]() |
CMS
Version 3.9
|
Public Member Functions | |
__construct () | |
getTrail () | |
Gather the breadcrumb trail. More... | |
findPage () | |
Get the server's url and query the SiteMap table for a match. More... | |
walkUpTree ($currentSiteMapPage) | |
Traverse up the tree through each parent url to find the root. More... | |
walkDownTree ($upTreePages) | |
No need to show breadcrumbs if there is just one single node in the tree path. More... | |
getLink ($identifier=null) | |
Public Attributes | |
$breadcrumbs | |
$qs | |
$url | |
Static Public Attributes | |
static | $overrideCurrentPage = null |
Definition at line 62 of file breadcrumbs_manager.inc.
Breadcrumbs::__construct | ( | ) |
Definition at line 69 of file breadcrumbs_manager.inc.
Breadcrumbs::findPage | ( | ) |
Get the server's url and query the SiteMap table for a match.
Definition at line 111 of file breadcrumbs_manager.inc.
Breadcrumbs::getLink | ( | $identifier = null | ) |
Definition at line 184 of file breadcrumbs_manager.inc.
Breadcrumbs::getTrail | ( | ) |
Gather the breadcrumb trail.
1) Find the page the user is on in the SiteMap table 2) Traverse the site map tree to find the root node 3) Walk down the tree to format the trail from the root to the current page for display.
Definition at line 87 of file breadcrumbs_manager.inc.
Breadcrumbs::walkDownTree | ( | $upTreePages | ) |
No need to show breadcrumbs if there is just one single node in the tree path.
array | $upTreePages | array of SiteMap objects |
Definition at line 152 of file breadcrumbs_manager.inc.
Breadcrumbs::walkUpTree | ( | $currentSiteMapPage | ) |
Traverse up the tree through each parent url to find the root.
obj | $currentSiteMapPage | instance of SiteMap |
Definition at line 129 of file breadcrumbs_manager.inc.
Breadcrumbs::$breadcrumbs |
Definition at line 64 of file breadcrumbs_manager.inc.
|
static |
Definition at line 68 of file breadcrumbs_manager.inc.
Breadcrumbs::$qs |
Definition at line 65 of file breadcrumbs_manager.inc.
Breadcrumbs::$url |
Definition at line 66 of file breadcrumbs_manager.inc.