applications/dashboard/controllers/class.profilecontroller.php
public function ProfileUrl($UserReference = NULL, $UserID = NULL) {
      if (!property_exists($this, 'User'))
         $this->GetUserInfo();
         
      if ($UserReference === NULL)
         $UserReference = $this->User->Name;
      if ($UserID === NULL)
         $UserID = $this->User->UserID;

      $UserReferenceEnc = rawurlencode($UserReference);
      if ($UserReferenceEnc == $UserReference)
         return $UserReferenceEnc;
      else
         return "$UserID/$UserReferenceEnc";
   }
public function ProfileUrl($UserReference = NULL, $UserID = NULL) {
      if (!property_exists($this, 'User'))
         $this->GetUserInfo();
         
      if ($UserReference === NULL)
         $UserReference = $this->User->Name;
      if ($UserID === NULL)
         $UserID = $this->User->UserID;

      $UserReferenceEnc = rawurlencode($UserReference);
      if ($UserReferenceEnc == $UserReference)
         return $UserReferenceEnc;
      else
         return "$UserID/$UserReferenceEnc";
   }
public function ProfileUrl ( $ UserReference = NULL , $ UserID = NULL ) { if ( ! property_exists ( $ this , 'User' ) ) $ this -> GetUserInfo ( ) ; if ( $ UserReference === NULL ) $ UserReference = $ this -> User -> Name ; if ( $ UserID === NULL ) $ UserID = $ this -> User -> UserID ; $ UserReferenceEnc = rawurlencode ( $ UserReference ) ; if ( $ UserReferenceEnc == $ UserReference ) return $ UserReferenceEnc ; else return "$UserID/$UserReferenceEnc" ; }
Build URL to user's profile.

@since 2.0.0
@access public
@param mixed $UserReference Unique identifier, possibly username or ID.
@param string $UserID Unique ID.
@return string Relative URL path.
Build URL to user s profile .