
Lingaraju Purushotham - 2015-12-28 06:18:35
Please can you let me know why are we restricting the string to "8" characters in the below method.
private function _currentPage() {
$_currPagex = substr($_SERVER['PHP_SELF'] . "?" . $_SERVER['QUERY_STRING'], 8);
return $this->_currPage = str_replace("&page=".$this->_pageNo,"",$_currPagex);
}