Home
last modified time | relevance | path

Searched refs:isBetween (Results 1 – 11 of 11) sorted by relevance

/webtrees/app/Module/
H A DFamilyBookChartModule.php146 …$book_size = Validator::attributes($request)->isBetween(self::MINIMUM_BOOK_SIZE, self::MAXIMUM_B…
147 …$generations = Validator::attributes($request)->isBetween(self::MINIMUM_GENERATIONS, self::MAXIMUM…
156 …'book_size' => Validator::parsedBody($request)->isBetween(self::MINIMUM_BOOK_SIZE, self::MAXIMUM…
157 …'generations' => Validator::parsedBody($request)->isBetween(self::MINIMUM_GENERATIONS, self::MAXIM…
H A DFanChartModule.php202 …$generations = Validator::attributes($request)->isBetween(self::MINIMUM_GENERATIONS, self::MAXIMUM…
203 …$width = Validator::attributes($request)->isBetween(self::MINIMUM_WIDTH, self::MAXIMUM_WIDTH…
210 …'generations' => Validator::parsedBody($request)->isBetween(self::MINIMUM_GENERATIONS, self::MAXIM…
212 …'width' => Validator::parsedBody($request)->isBetween(self::MINIMUM_WIDTH, self::MAXIMUM_WID…
H A DPedigreeMapModule.php178 …$generations = Validator::attributes($request)->isBetween(self::MINIMUM_GENERATIONS, self::MAXIMUM…
186 …'generations' => Validator::parsedBody($request)->isBetween(self::MINIMUM_GENERATIONS, self::MAXIM…
297 …$generations = Validator::attributes($request)->isBetween(self::MINIMUM_GENERATIONS, self::MAXIMUM…
H A DDescendancyChartModule.php159 …$generations = Validator::attributes($request)->isBetween(self::MINIMUM_GENERATIONS, self::MAXIMUM…
166 …'generations' => Validator::parsedBody($request)->isBetween(self::MINIMUM_GENERATIONS, self::MAXIM…
H A DAncestorsChartModule.php163 …$generations = Validator::attributes($request)->isBetween(self::MINIMUM_GENERATIONS, self::MAXIMUM…
172 …'generations' => Validator::parsedBody($request)->isBetween(self::MINIMUM_GENERATIONS, self::MAXIM…
H A DHourglassChartModule.php149 …$generations = Validator::attributes($request)->isBetween(self::MINIMUM_GENERATIONS, self::MAXIMUM…
158 …'generations' => Validator::parsedBody($request)->isBetween(self::MINIMUM_GENERATIONS, self::MAXIM…
H A DPedigreeChartModule.php173 …$generations = Validator::attributes($request)->isBetween(self::MINIMUM_GENERATIONS, self::MAXIMUM…
182 …'generations' => Validator::parsedBody($request)->isBetween(self::MINIMUM_GENERATIONS, self::MAXIM…
H A DUpcomingAnniversariesModule.php254 … $days = Validator::parsedBody($request)->isBetween(1, self::MAX_DAYS)->integer('days');
H A DTimelineChartModule.php137 …$scale = Validator::attributes($request)->isBetween(self::MINIMUM_SCALE, self::MAXIMUM_SCALE)->int…
/webtrees/tests/app/
H A DValidatorTest.php257 self::assertSame(42, Validator::queryParams($request)->isBetween(40, 45)->integer('param'));
258 … self::assertSame(42, Validator::queryParams($request)->isBetween(40, 45)->integer('invalid', 42));
259 …self::assertSame(42, Validator::queryParams($request)->isBetween(40, 45)->integer('wrongtype', 42)…
/webtrees/app/
H A DValidator.php126 public function isBetween(int $minimum, int $maximum): self function in Fisharebest\\Webtrees\\Validator