public function ProfileLink($urlSegment)
    {
        $baseLink = $this->Link();
        if ($baseLink === '/') {
            // Handle homepage blogs
            $baseLink = RootURLController::get_homepage_link();
        }

        return Controller::join_links($baseLink, 'profile', $urlSegment);
    }
public function ProfileLink($urlSegment)
    {
        $baseLink = $this->Link();
        if ($baseLink === '/') {
            // Handle homepage blogs
            $baseLink = RootURLController::get_homepage_link();
        }

        return Controller::join_links($baseLink, 'profile', $urlSegment);
    }
public function ProfileLink ( $ urlSegment ) { $ baseLink = $ this -> Link ( ) ; if ( $ baseLink === '/' ) { // Handle homepage blogs $ baseLink = RootURLController :: get_homepage_link ( ) ; } return Controller :: join_links ( $ baseLink , 'profile' , $ urlSegment ) ; }
Get a link to a Member profile.

@param string $urlSegment

@return string
Get a link to a Member profile .