/** * saves client.ini & updates client list in ilias.ini * @return boolean */ function saveNewClient() { // save client id to session $_SESSION["ClientId"] = $this->client->getId(); // create client if (!$this->client->create()) { $this->error = $this->client->getError(); return false; } //everything okay $this->ini_client_exists = true; return true; }