Class Navigation

Methods summary

public string
# getLinkToCollection( Page $cObj )

Returns a link to a page. Note: this always returns a string. if you really need the URL object, use \URL::to($page) instead. Not returning a string was killing a json encode in the sitemap (and could probably screw up other stuff down the line.)

public Page[]
# getTrailToCollection( Page $c )

Returns an array of collections as a breadcrumb to the current page

public string
# getCollectionURL( Page $cObj )

Returns the URL of a collection so that it can be clicked on