Lines Matching refs:limit
338 * @param int $limit Number of results to display per page (page size)
343 private function htmlShowPaginatedResult($resid, $query, $itemdisplaycallback, $count, $limit) { argument
347 $currentpage = floor($query['offset'] / $limit) + 1;
355 if($count > $limit) {
356 $this->htmlPagination($query, $currentpage, $count, $limit);
368 if($count > $limit) {
369 $this->htmlPagination($query, $currentpage, $count, $limit);
379 * @param int $limit number of items per page
383 private function htmlPagination($query, $currentpage, $maximum, $limit) { argument
384 $lastpage = (int) ceil($maximum / $limit);
409 … $this->htmlPaginationurl($query, ($currentpage - 2) * $limit, '«', $currentpage - 1);
420 $this->htmlPaginationurl($query, ($page - 1) * $limit, $page, $page);
426 $this->htmlPaginationurl($query, $currentpage * $limit, '»', $currentpage + 1);
509 $limit = $query['limit'];
510 $sqlselect .= 'LIMIT ' . $limit;
522 $this->htmlShowPaginatedResult($resid, $query, $itemdisplaycallback, $count, $limit);