BreadcrumbHelper SFO

This helper class may be used within a page template to construct a breadcrumb of the parent pages.  Pass in the current $group variable and it will return the trail you may then loop through and display.

Field

Type

Comment/Sample

Method

Returns

Parameters

Parameter Types

Comments/Sample

 getBreadcrumbTrail(group)

Array of ProductGroups 

 group

ProductGroup 

 

 isElderOf(group, potentialElder)

boolean 

 

 

returns true if a potentialElder is indeed an elder of group. 


Breadcrumbs - Developer Example