Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

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 

  • No labels