function NextLink() { $link = parent::NextLink(); if ($link && isset($_REQUEST['FileSearch'])) { return $link . '&FileSearch=' . $_REQUEST['FileSearch']; } return $link; }
public function NextLink() { $currentStart = isset($_REQUEST['ctf'][$this->Name()]['start']) ? $_REQUEST['ctf'][$this->Name()]['start'] : 0; $start = ($currentStart + $this->pageSize < $this->TotalCount()) ? $currentStart + $this->pageSize : $this->TotalCount() % $this->pageSize > 0; return parent::NextLink() ? $this->RelativeLink(array('start' => $start)) : false; }