public function getURL($use_username = true)
    {
        $url = 'option=com_people&view=person&id='.$this->id;

        if ($use_username) {
            $url .= '&uniqueAlias='.strtolower($this->alias);
        }

        return $url;
    }
public function getURL($use_username = true)
    {
        $url = 'option=com_people&view=person&id='.$this->id;

        if ($use_username) {
            $url .= '&uniqueAlias='.strtolower($this->alias);
        }

        return $url;
    }
public function getURL ( $ use_username = true ) { $ url = 'option=com_people&view=person&id=' . $ this -> id ; if ( $ use_username ) { $ url .= '&uniqueAlias=' . strtolower ( $ this -> alias ) ; } return $ url ; }
Return a person URL.

@param bool $use_username A flag whether to use the username in the URL or not

@return string
Return a person URL .