public function login($username, $password) { $status = Alibaba::login($username, $password); if ($status) { $this->username = $username; } return $status; }