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.
Properties
| Field | Type | Comment/Sample |
|---|
Methods
| Method | Returns | Parameters | Parameter Types | Comments/Sample |
|---|---|---|---|---|
getBreadcrumbTrail(group) | [Array](./array-sfo.md) of [ProductGroups](./productgroup-sfo.md)`` | group | ProductGroup | |
isElderOf(group, potentialElder) | boolean | returns true if a potentialElder is indeed an elder of group. |
See Also
Was this page helpful?