Searched refs:perPage (Results 1 – 2 of 2) sorted by relevance
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 page468 protected function estimateTotal($perPage, $default) argument481 return $matches[1] * $perPage;
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 page571 protected function estimateTotal($perPage, $default) argument584 return $matches[1] * $perPage;