Home
last modified time | relevance | path

Searched refs:isInArray (Results 1 – 15 of 15) sorted by relevance

/webtrees/app/Http/RequestHandlers/
H A DExportGedcomClient.php60 …$format = Validator::parsedBody($request)->isInArray(['gedcom', 'zip', 'zipmedia', 'gedzip']…
61 …$privacy = Validator::parsedBody($request)->isInArray(['none', 'gedadmin', 'user', 'visitor']…
62 …$encoding = Validator::parsedBody($request)->isInArray([UTF8::NAME, UTF16BE::NAME, ANSEL::NAME…
63 …$line_endings = Validator::parsedBody($request)->isInArray(['CRLF', 'LF'])->string('line_endings');
H A DManageMediaPage.php60 …$files = Validator::queryParams($request)->isInArray(['local', 'external', 'unused'])->str…
61 …$subfolders = Validator::queryParams($request)->isInArray(['include', 'exclude'])->string('subf…
H A DManageMediaData.php96 …$files = Validator::queryParams($request)->isInArray(['local', 'external', 'unused'])->string('fil…
100 …$media_folder = Validator::queryParams($request)->isInArray($media_folders)->string('media_folder…
103 …$subfolders = Validator::queryParams($request)->isInArray(['include', 'exclude'])->string('subfold…
H A DMapDataImportAction.php83 … $source = Validator::parsedBody($request)->isInArray(['client', 'server'])->string('source');
84 …$options = Validator::parsedBody($request)->isInArray(['add', 'addupdate', 'update'])->string('opt…
H A DCalendarAction.php44 …'view' => Validator::attributes($request)->isInArray(['day', 'month', 'year'])->string('view'),
H A DManageMediaAction.php59 …'media_folder' => Validator::parsedBody($request)->isInArray($media_folders)->string('media_folder…
H A DMediaFileDownload.php51 …$disposition = Validator::queryParams($request)->isInArray(['inline', 'attachment'])->string('disp…
H A DAbstractTomSelectHandler.php47 $at = Validator::queryParams($request)->isInArray(['', '@'])->string('at');
H A DSearchPhoneticPage.php72 …$soundex = Validator::queryParams($request)->isInArray(['DaitchM', 'Russell'])->string('soundex'…
H A DCalendarPage.php58 … $view = Validator::attributes($request)->isInArray(['day', 'month', 'year'])->string('view');
H A DImportGedcomAction.php76 …$source = Validator::parsedBody($request)->isInArray(['client', 'server'])->string('so…
H A DCalendarEvents.php68 … $view = Validator::attributes($request)->isInArray(['day', 'month', 'year'])->string('view');
/webtrees/app/Module/
H A DClippingsCartModule.php232 …$format = Validator::parsedBody($request)->isInArray(['gedcom', 'zip', 'zipmedia', 'gedzip']…
233 … $privacy = Validator::parsedBody($request)->isInArray($privacy_options)->string('privacy');
234 …$encoding = Validator::parsedBody($request)->isInArray([UTF8::NAME, UTF16BE::NAME, ANSEL::NAME…
235 …$line_endings = Validator::parsedBody($request)->isInArray(['CRLF', 'LF'])->string('line_endings');
/webtrees/app/
H A DValidator.php144 public function isInArray(array $values): self function in Fisharebest\\Webtrees\\Validator
158 return $this->isInArray(array_keys($values));
/webtrees/tests/app/
H A DValidatorTest.php269 …self::assertSame('foo', Validator::queryParams($request)->isInArray(['foo', 'bar'])->string('param…
273 Validator::queryParams($request)->isInArray(['baz'])->string('param');