public function ajax_load() { if (isset($_REQUEST['sub'])) { $this->view = $_REQUEST['sub']; } parent::ajax_load(); }
public function ajax_load() { if (isset($_REQUEST['cid'])) { $this->current = new comp(); if (isset($_REQUEST['cid'])) { $this->current->do_retrieve_from_id([], $_REQUEST['cid']); } if ($this->current->cid) { $this->view = 'comp'; } } parent::ajax_load(); }
public function ajax_load() { $this->current->do_retrieve_from_id([], $_REQUEST['page']); parent::ajax_load(); }