db = $db; $this->unitTestParamVm = new SqliteVM($db, true); $this->httpRequest = new HttpRequest(); $this->URL = $newURL; } function __destruct() { unset($this->unitTestParamVm); unset($this->httpRequest); unset($this->db); } function EnumerateUsers($paramSet) { try { $arrayParam = array(); $arrayParam = Utils::SetCommonParams($paramSet, $this->db); $this->unitTestParamVm->Execute("Select ParamValue from Params WHERE ParamSet=$paramSet AND ParamName=\"GROUP\""); $arrayParam["GROUP"]=$this->unitTestParamVm->GetString("ParamValue"); return $this->httpRequest->SendRequest($this->URL, $arrayParam); } catch (SqliteException $s) { return new Result($s->GetMessage(), "text/plain"); } } function EnumerateGroups($paramSet) { try { $arrayParam = array(); $arrayParam = Utils::SetCommonParams($paramSet, $this->db); return $this->httpRequest->SendRequest($this->URL, $arrayParam); } catch (SqliteException $s) { return new Result($s->GetMessage(), "text/plain"); } } } ?>