login; } /** * Set login data. */ function setLogin($login) { if ($this->login) throw new AppException('Login is already set.'); $this->login = $login; } /** * Check if login data is present. */ function hasLogin() { return $this->getLogin()? true: false; } abstract function process (Vtiger_Request $request); }