Navigation
class Navigation (View source)
Methods
                    string
                
                
                    getLinkToCollection(Page $cObj)
        
                                            
                
            Returns a link to a page. Note: this always returns a string.
                    Page[]
                
                
                    getTrailToCollection(Page $c)
        
                                            
                
            Returns an array of collections as a breadcrumb to the current page.
                    string
                
                
                    getCollectionURL(Page $cObj)
        
                                            
                
            Returns the URL of a collection so that it can be clicked on.
                    getLogInOutLink()
        
                                            
                
            No description
Details
        
                            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.).
        
                            Page[]
    getTrailToCollection(Page $c)
        
    
    Returns an array of collections as a breadcrumb to the current page.
        
                            string
    getCollectionURL(Page $cObj)
        
    
    Returns the URL of a collection so that it can be clicked on.
        
                            
    getLogInOutLink()
        
    
    No description