示例#1
0
 public function paging($rowsPerPage, $currentPage = NULL, $result = NULL)
 {
     $totalRows = $this->countRowsFromResult($result);
     PHPToolkit::getClass('paging');
     $paging = new paging($rowsPerPage, $totalRows, $currentPage, $this->getFilter(true));
     $this->limit = $paging->limit();
     return $paging;
 }