Searched refs:isInArray (Results 1 – 15 of 15) sorted by relevance
/webtrees/app/Http/RequestHandlers/ |
H A D | ExportGedcomClient.php | 60 …$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 D | ManageMediaPage.php | 60 …$files = Validator::queryParams($request)->isInArray(['local', 'external', 'unused'])->str… 61 …$subfolders = Validator::queryParams($request)->isInArray(['include', 'exclude'])->string('subf…
|
H A D | ManageMediaData.php | 96 …$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 D | MapDataImportAction.php | 83 … $source = Validator::parsedBody($request)->isInArray(['client', 'server'])->string('source'); 84 …$options = Validator::parsedBody($request)->isInArray(['add', 'addupdate', 'update'])->string('opt…
|
H A D | CalendarAction.php | 44 …'view' => Validator::attributes($request)->isInArray(['day', 'month', 'year'])->string('view'),
|
H A D | ManageMediaAction.php | 59 …'media_folder' => Validator::parsedBody($request)->isInArray($media_folders)->string('media_folder…
|
H A D | MediaFileDownload.php | 51 …$disposition = Validator::queryParams($request)->isInArray(['inline', 'attachment'])->string('disp…
|
H A D | AbstractTomSelectHandler.php | 47 $at = Validator::queryParams($request)->isInArray(['', '@'])->string('at');
|
H A D | SearchPhoneticPage.php | 72 …$soundex = Validator::queryParams($request)->isInArray(['DaitchM', 'Russell'])->string('soundex'…
|
H A D | CalendarPage.php | 58 … $view = Validator::attributes($request)->isInArray(['day', 'month', 'year'])->string('view');
|
H A D | ImportGedcomAction.php | 76 …$source = Validator::parsedBody($request)->isInArray(['client', 'server'])->string('so…
|
H A D | CalendarEvents.php | 68 … $view = Validator::attributes($request)->isInArray(['day', 'month', 'year'])->string('view');
|
/webtrees/app/Module/ |
H A D | ClippingsCartModule.php | 232 …$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 D | Validator.php | 144 public function isInArray(array $values): self function in Fisharebest\\Webtrees\\Validator 158 return $this->isInArray(array_keys($values));
|
/webtrees/tests/app/ |
H A D | ValidatorTest.php | 269 …self::assertSame('foo', Validator::queryParams($request)->isInArray(['foo', 'bar'])->string('param… 273 Validator::queryParams($request)->isInArray(['baz'])->string('param');
|