classes/Layout/Breadcrumbs.php
public function back()
    {

        // If there aren't enough breadcrumbs for a back URL, report false
        if (count($this->links) < 2) {
            return;
        }

        // Get the URL from two back from the end in the breadcrumbs array
        $urls = array_keys($this->links);

        return $urls[count($urls) - 2];
    }
public function back()
    {

        // If there aren't enough breadcrumbs for a back URL, report false
        if (count($this->links) < 2) {
            return;
        }

        // Get the URL from two back from the end in the breadcrumbs array
        $urls = array_keys($this->links);

        return $urls[count($urls) - 2];
    }
public function back ( ) { // If there aren't enough breadcrumbs for a back URL, report false if ( count ( $ this -> links ) < 2 ) { return ; } // Get the URL from two back from the end in the breadcrumbs array $ urls = array_keys ( $ this -> links ) ; return $ urls [ count ( $ urls ) - 2 ] ; }
Get the url for a back button given a breadcrumbs array.  Or return false
if there is no where to go back to.

@return string|void
Get the url for a back button given a breadcrumbs array . Or return false if there is no where to go back to .