/** * fetches the proper username markup and title * * @param array $user User info array * @param string $displaygroupfield Name of the field representing displaygroupid in the User info array * @param string $usernamefield Name of the field representing username in the User info array * @return string Username with markup and title */ public function fetchMusername($user, $displaygroupfield = 'displaygroupid', $usernamefield = 'username') { vB_User::fetchMusername($user, $displaygroupfield, $usernamefield); return $user['musername']; }