Lines Matching refs:limit

109      * @param int           $limit
113 …public function searchFamilyNames(array $trees, array $search, int $offset = 0, int $limit = PHP_I… argument
140 …is->paginateQuery($query, $this->familyRowMapper(), GedcomRecord::accessFilter(), $offset, $limit);
192 * @param int $limit
196 …public function searchIndividualNames(array $trees, array $search, int $offset = 0, int $limit = P… argument
210 …paginateQuery($query, $this->individualRowMapper(), GedcomRecord::accessFilter(), $offset, $limit);
241 * @param int $limit
245 …public function searchLocations(array $trees, array $search, int $offset = 0, int $limit = PHP_INT… argument
253 …->paginateQuery($query, $this->locationRowMapper(), GedcomRecord::accessFilter(), $offset, $limit);
262 * @param int $limit
266 …public function searchMedia(array $trees, array $search, int $offset = 0, int $limit = PHP_INT_MAX… argument
273 …his->paginateQuery($query, $this->mediaRowMapper(), GedcomRecord::accessFilter(), $offset, $limit);
282 * @param int $limit
286 …public function searchNotes(array $trees, array $search, int $offset = 0, int $limit = PHP_INT_MAX… argument
294 …this->paginateQuery($query, $this->noteRowMapper(), GedcomRecord::accessFilter(), $offset, $limit);
303 * @param int $limit
307 …public function searchSharedNotes(array $trees, array $search, int $offset = 0, int $limit = PHP_I… argument
315 …paginateQuery($query, $this->sharedNoteRowMapper(), GedcomRecord::accessFilter(), $offset, $limit);
324 * @param int $limit
328 …public function searchRepositories(array $trees, array $search, int $offset = 0, int $limit = PHP_… argument
336 …paginateQuery($query, $this->repositoryRowMapper(), GedcomRecord::accessFilter(), $offset, $limit);
345 * @param int $limit
349 …public function searchSources(array $trees, array $search, int $offset = 0, int $limit = PHP_INT_M… argument
356 …is->paginateQuery($query, $this->sourceRowMapper(), GedcomRecord::accessFilter(), $offset, $limit);
365 * @param int $limit
369 …public function searchSourcesByName(array $trees, array $search, int $offset = 0, int $limit = PHP… argument
377 …is->paginateQuery($query, $this->sourceRowMapper(), GedcomRecord::accessFilter(), $offset, $limit);
386 * @param int $limit
390 …public function searchSurnames(array $trees, array $search, int $offset = 0, int $limit = PHP_INT_… argument
401 ->take($limit)
411 * @param int $limit
415 …public function searchSubmissions(array $trees, array $search, int $offset = 0, int $limit = PHP_I… argument
423 …paginateQuery($query, $this->submissionRowMapper(), GedcomRecord::accessFilter(), $offset, $limit);
432 * @param int $limit
436 …public function searchSubmitters(array $trees, array $search, int $offset = 0, int $limit = PHP_IN… argument
444 …>paginateQuery($query, $this->submitterRowMapper(), GedcomRecord::accessFilter(), $offset, $limit);
453 * @param int $limit
457 …public function searchPlaces(Tree $tree, string $search, int $offset = 0, int $limit = PHP_INT_MAX… argument
503 return $this->paginateQuery($query, $row_mapper, $filter, $offset, $limit);
1029 * @param int $limit Take this many rows.
1033 …uery(Builder $query, Closure $row_mapper, Closure $row_filter, int $offset, int $limit): Collection argument
1049 if ($limit > 0) {
1053 $limit--;
1055 if ($limit === 0) {
1163 * @param int $limit
1167 private function rowLimiter(int $limit = self::MAX_SEARCH_RESULTS): Closure argument
1169 return static function () use ($limit): void {
1172 if (++$n > $limit) {