public function __construct($ps_base_url, $ps_table, $ps_mode, $pn_id = null)
 {
     parent::__construct($ps_base_url, "item");
     $this->setRequestMethod($ps_mode);
     $this->setEndpoint($ps_table);
     $this->addGetParameter("id", $pn_id);
 }
 public function __construct($ps_base_url, $ps_table, $ps_query)
 {
     parent::__construct($ps_base_url, "find");
     $this->setRequestMethod("GET");
     $this->setEndpoint($ps_table);
     $this->addGetParameter("q", $ps_query);
 }
 public function __construct($ps_base_url, $ps_table, $ps_mode)
 {
     parent::__construct($ps_base_url, "browse");
     $this->setRequestMethod($ps_mode);
     $this->setEndpoint($ps_table);
 }
 public function __construct($ps_base_url, $ps_call)
 {
     parent::__construct($ps_base_url, "replication");
     $this->setRequestMethod("GET");
     $this->setEndpoint($ps_call);
 }
 public function __construct($ps_base_url, $ps_table)
 {
     parent::__construct($ps_base_url, "model");
     $this->setRequestMethod("GET");
     $this->setEndpoint($ps_table);
 }