function parse_request() { parent::parse_request(); if (isset($_GET["posStart"]) && isset($_GET["count"])) { $this->request->set_limit($_GET["posStart"], $_GET["count"]); } }
function parse_request() { parent::parse_request(); if (isset($_GET["to"])) { $this->request->set_filter($this->config->text[0]["name"], $_GET["to"], "<"); } if (isset($_GET["from"])) { $this->request->set_filter($this->config->text[1]["name"], $_GET["from"], ">"); } }
function parse_request() { parent::parse_request(); if (isset($_GET["id"])) { $this->request->set_filter($this->config->id["name"], $_GET["id"], "="); } else { if (!$_POST["ids"]) { throw new Exception("ID parameter is missed"); } } }
function parse_request() { parent::parse_request(); if (isset($_GET["pos"])) { if (!$this->dload) { LogMaster::log("Dyn loading request received, but server side was not configured to process dyn. loading. "); } else { $this->request->set_limit($_GET["pos"], $this->dload); } } if (isset($_GET["mask"])) { $this->request->set_filter($this->config->text[0]["db_name"], $_GET["mask"] . "%", "LIKE"); } LogMaster::log($this->request); }
protected function parse_request() { if (isset($_GET['action'])) { $action = $_GET['action']; //simple request mode if ($action == "get") { //data request if (isset($_GET['id'])) { //single entity data request $this->request->set_filter($this->config->id["name"], $_GET['id'], "="); } else { //loading collection of items } } else { //data saving $this->editing = true; } } else { if (isset($_GET['editing']) && isset($_POST['ids'])) { $this->editing = true; } parent::parse_request(); } if (isset($_GET["start"]) && isset($_GET["count"])) { $this->request->set_limit($_GET["start"], $_GET["count"]); } }
public function parse_request() { parent::parse_request(); if (isset($_GET["id"])) { $this->request->set_relation($_GET["id"]); } else { $this->request->set_relation("0"); } $this->request->set_limit(0, 0); //netralize default reaction on dyn. loading mode }
protected function parse_request() { parent::parse_request(); if (isset($_GET["dhx_colls"])) { $this->fill_collections($_GET["dhx_colls"]); } if (isset($_GET["posStart"]) && isset($_GET["count"])) { $this->request->set_limit($_GET["posStart"], $_GET["count"]); } }
protected function parse_request() { parent::parse_request(); if (isset($_GET["dhx_colls"])) { $this->fill_collections($_GET["dhx_colls"]); } }
function parse_request() { parent::parse_request(); if (isset($_GET["gantt_mode"]) && $_GET["gantt_mode"] == "links") { $this->links_mode = true; } if (count($this->config->text)) { if (isset($_GET["to"])) { $this->request->set_filter($this->config->text[0]["name"], $_GET["to"], "<"); } if (isset($_GET["from"])) { $this->request->set_filter($this->config->text[1]["name"], $_GET["from"], ">"); } } }
protected function parse_request() { if (isset($_GET['action'])) { $action = $_GET['action']; //simple request mode if ($action == "get") { //data request if (isset($_GET['id'])) { //single entity data request $this->request->set_filter($this->config->id["name"], $_GET['id'], "="); } else { //loading collection of items } } else { //data saving $this->editing = true; } } else { if (isset($_GET["dhx_colls"])) { $this->fill_collections($_GET["dhx_colls"]); } if (isset($_GET['editing']) && isset($_POST['ids'])) { $this->editing = true; } parent::parse_request(); } if (isset($_GET["start"]) && isset($_GET["count"])) { $this->request->set_limit($_GET["start"], $_GET["count"]); } $key = ConnectorSecurity::checkCSRF($this->editing); if ($key !== "") { $this->add_top_attribute("dhx_security", $key); } }
function parse_request() { parent::parse_request(); $action_links = "links"; if (isset($_GET["gantt_mode"]) && $_GET["gantt_mode"] == $action_links) { $this->action_mode = $action_links; $this->request->set_action_mode($action_links); $this->options[$action_links]->request->set_action_mode($action_links); $this->options[$action_links]->request->set_user($this->request->get_user()); } if (count($this->config->text)) { if (isset($_GET["to"])) { $this->request->set_filter($this->config->text[0]["name"], $_GET["to"], "<"); } if (isset($_GET["from"])) { $this->request->set_filter($this->config->text[1]["name"], $_GET["from"], ">"); } } }