Request['id']); $client = $this->getModule('client')->getClientById($clientid); if(!is_null($client)) { $client_status = $this->getModule('bconsole')->bconsoleCommand($this->director, array('status', 'client="' . $client->name . '"'), $this->user); $this->output = $client_status->output; $this->error = (integer)$client_status->exitcode; } else { $this->output = ClientError::MSG_ERROR_CLIENT_DOES_NOT_EXISTS; $this->error = ClientError::ERROR_CLIENT_DOES_NOT_EXISTS; } } } ?>