Home
last modified time | relevance | path

Searched refs:perPage (Results 1 – 2 of 2) sorted by relevance

/plugin/issuelinks/services/
H A DGitLab.service.php418 $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;
H A DGitHub.service.php531 $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;