Searched refs:perPage (Results 1 – 3 of 3) sorted by relevance
| /plugin/issuelinks/services/ |
| D | GitLab.service.php | 418 $perPage = 100; 419 $page = ceil(($startat + 1) / $perPage); 420 $endpoint = '/projects/' . urlencode($projectKey) . "/issues?page=$page&per_page=$perPage"; 422 $this->total = $this->estimateTotal($perPage, count($issues)); 423 …rEndpoint = '/projects/' . urlencode($projectKey) . "/merge_requests?page=$page&per_page=$perPage"; 425 $this->total += $this->estimateTotal($perPage, count($mrs)); 434 $startat += $perPage; 463 * @param int $perPage amount of results per page 468 protected function estimateTotal($perPage, $default) argument 481 return $matches[1] * $perPage;
|
| D | GitHub.service.php | 531 $perPage = 30; 532 $page = ceil(($startat + 1) / $perPage); 541 $this->total = $this->estimateTotal($perPage, count($issues)); 559 $startat += $perPage; 566 * @param int $perPage amount of results per page 571 protected function estimateTotal($perPage, $default) argument 584 return $matches[1] * $perPage;
|
| /plugin/sphinxsearchwas/ |
| D | action.php | 108 private function _addNumberedPagination($parent, $query, $start, $total, $perPage) { argument 111 $totalPages = (int)ceil($total / $perPage); 112 $currentPage = (int)floor($start / $perPage) + 1; 117 …if ($currentPage > 1) $this->_addPageLink($nav, $query, ($currentPage - 2) * $perPage, '« Prev', '… 120 $this->_addPageLink($nav, $query, ($i - 1) * $perPage, $i, $class); 122 …if ($currentPage < $totalPages) $this->_addPageLink($nav, $query, $currentPage * $perPage, 'Next »…
|