/** * Get the username for a given user id * * @param int $id user id * @return string|false */ public function getUserNameFromId($h, $id = 0) { //$username = \Hotaru\Models\User::getUserNameFromId($id); $username = \Hotaru\Models2\User::getUserNameFromId($h, $id); if ($username) { return $username; } else { return false; } }