/webtrees/tests/app/ |
H A D | ValidatorTest.php | 58 self::assertSame('test', Validator::queryParams($request)->string('param')); 80 Validator::queryParams($request); 92 Validator::queryParams($request); 102 self::assertSame(['test'], Validator::queryParams($request)->array('param')); 106 Validator::queryParams($request)->array('invalid'); 123 self::assertTrue(Validator::queryParams($request)->boolean('a')); 124 self::assertTrue(Validator::queryParams($request)->boolean('b')); 125 self::assertTrue(Validator::queryParams($request)->boolean('c')); 126 self::assertFalse(Validator::queryParams($request)->boolean('d')); 127 self::assertFalse(Validator::queryParams($request)->boolean('e')); [all …]
|
/webtrees/app/Http/RequestHandlers/ |
H A D | RedirectCalendarPhp.php | 45 …$ged = Validator::queryParams($request)->string('ged', Site::getPreference('DEFAULT_GEDCOM')); 46 $cal = Validator::queryParams($request)->string('cal', ''); 47 $day = Validator::queryParams($request)->string('day', ''); 48 $month = Validator::queryParams($request)->string('month', ''); 49 $year = Validator::queryParams($request)->string('year', ''); 50 $filterev = Validator::queryParams($request)->string('filterev', ''); 51 $filterof = Validator::queryParams($request)->string('filterof', ''); 52 $filtersx = Validator::queryParams($request)->string('filtersx', ''); 53 $view = Validator::queryParams($request)->string('view', 'day');
|
H A D | RedirectFamListPhp.php | 50 … $ged = Validator::queryParams($request)->string('ged', Site::getPreference('DEFAULT_GEDCOM')); 60 'alpha' => Validator::queryParams($request)->string('alpha', ''), 61 'falpha' => Validator::queryParams($request)->string('falpha', ''), 62 'show' => Validator::queryParams($request)->string('show', ''), 63 … 'show_all' => Validator::queryParams($request)->string('show_all', ''), 64 … 'show_all_firstnames' => Validator::queryParams($request)->string('show_all_firstnames', ''), 65 … 'show_marnm' => Validator::queryParams($request)->string('show_marnm', ''), 66 'surname' => Validator::queryParams($request)->string('', ''),
|
H A D | RedirectIndiListPhp.php | 50 … $ged = Validator::queryParams($request)->string('ged', Site::getPreference('DEFAULT_GEDCOM')); 60 'alpha' => Validator::queryParams($request)->string('alpha', ''), 61 'falpha' => Validator::queryParams($request)->string('falpha', ''), 62 'show' => Validator::queryParams($request)->string('show', ''), 63 … 'show_all' => Validator::queryParams($request)->string('show_all', ''), 64 … 'show_all_firstnames' => Validator::queryParams($request)->string('show_all_firstnames', ''), 65 … 'show_marnm' => Validator::queryParams($request)->string('show_marnm', ''), 66 'surname' => Validator::queryParams($request)->string('', ''),
|
H A D | SiteLogsPage.php | 85 $action = Validator::queryParams($request)->string('action', ''); 86 $from = Validator::queryParams($request)->string('from', $earliest); 87 $to = Validator::queryParams($request)->string('to', $latest); 88 $type = Validator::queryParams($request)->string('type', ''); 89 $text = Validator::queryParams($request)->string('text', ''); 90 $ip = Validator::queryParams($request)->string('ip', ''); 91 $username = Validator::queryParams($request)->string('username', ''); 92 $tree = Validator::queryParams($request)->string('tree', '');
|
H A D | PendingChangesLogPage.php | 80 $from = Validator::queryParams($request)->string('from', $earliest); 81 $to = Validator::queryParams($request)->string('to', $latest); 82 $type = Validator::queryParams($request)->string('type', ''); 83 $oldged = Validator::queryParams($request)->string('oldged', ''); 84 $newged = Validator::queryParams($request)->string('newged', ''); 85 $xref = Validator::queryParams($request)->string('xref', ''); 86 $username = Validator::queryParams($request)->string('username', '');
|
H A D | CalendarPage.php | 59 $cal = Validator::queryParams($request)->string('cal', ''); 60 $day = Validator::queryParams($request)->string('day', ''); 61 $month = Validator::queryParams($request)->string('month', ''); 62 $year = Validator::queryParams($request)->string('year', ''); 63 $filterev = Validator::queryParams($request)->string('filterev', 'BIRT-MARR-DEAT'); 64 $filterof = Validator::queryParams($request)->string('filterof', 'all'); 65 $filtersx = Validator::queryParams($request)->string('filtersx', '');
|
H A D | RedirectMediaListPhp.php | 50 … $ged = Validator::queryParams($request)->string('ged', Site::getPreference('DEFAULT_GEDCOM')); 60 'filter' => Validator::queryParams($request)->string('filter', ''), 61 'folder' => Validator::queryParams($request)->string('folder', ''), 62 'form_type' => Validator::queryParams($request)->string('form_type', ''), 63 'max' => Validator::queryParams($request)->string('max', ''), 64 'subdirs' => Validator::queryParams($request)->string('subdirs', ''),
|
H A D | SearchGeneralPage.php | 80 $query = Validator::queryParams($request)->string('query', ''); 83 … $search_individuals = Validator::queryParams($request)->boolean('search_individuals', false); 84 $search_families = Validator::queryParams($request)->boolean('search_families', false); 85 $search_locations = Validator::queryParams($request)->boolean('search_locations', false); 86 … $search_repositories = Validator::queryParams($request)->boolean('search_repositories', false); 87 $search_sources = Validator::queryParams($request)->boolean('search_sources', false); 88 $search_notes = Validator::queryParams($request)->boolean('search_notes', false); 91 $search_tree_names = Validator::queryParams($request)->array('search_trees');
|
H A D | ContactPage.php | 72 $body = Validator::queryParams($request)->string('body', ''); 73 $from_email = Validator::queryParams($request)->string('from_email', ''); 74 $from_name = Validator::queryParams($request)->string('from_name', ''); 75 $subject = Validator::queryParams($request)->string('subject', ''); 76 $to = Validator::queryParams($request)->string('to', ''); 77 …$url = Validator::queryParams($request)->isLocalUrl()->string('url', route(HomePage::class)…
|
H A D | RedirectReportEnginePhp.php | 48 … $ged = Validator::queryParams($request)->string('ged', Site::getPreference('DEFAULT_GEDCOM')); 49 $action = Validator::queryParams($request)->string('action', ''); 50 $report = Validator::queryParams($request)->string('report'); 57 'varnames' => Validator::queryParams($request)->array('varnames'), 58 'vars' => Validator::queryParams($request)->array('vars'),
|
H A D | CalendarEvents.php | 69 $cal = Validator::queryParams($request)->string('cal'); 70 $day = Validator::queryParams($request)->string('day'); 71 $month = Validator::queryParams($request)->string('month'); 72 $year = Validator::queryParams($request)->string('year'); 73 $filterev = Validator::queryParams($request)->string('filterev'); 74 $filterof = Validator::queryParams($request)->string('filterof'); 75 $filtersx = Validator::queryParams($request)->string('filtersx');
|
H A D | RedirectRelationshipPhp.php | 50 … $ged = Validator::queryParams($request)->string('ged', Site::getPreference('DEFAULT_GEDCOM')); 59 $pid1 = Validator::queryParams($request)->string('pid1', ''); 64 'ancestors' => Validator::queryParams($request)->string('ancestors', '0'), 65 'recursion' => Validator::queryParams($request)->string('recursion', '0'), 67 'xref2' => Validator::queryParams($request)->string('pid2', ''),
|
H A D | RedirectFanChartPhp.php | 50 … $ged = Validator::queryParams($request)->string('ged', Site::getPreference('DEFAULT_GEDCOM')); 59 $root_id = Validator::queryParams($request)->string('rootid', ''); 60 $generations = Validator::queryParams($request)->string('generations', '4'); 61 $style = Validator::queryParams($request)->string('style', '4'); 62 … $width = Validator::queryParams($request)->integer('width', FanChartModule::DEFAULT_WIDTH);
|
H A D | RedirectModulePhp.php | 50 …$ged = Validator::queryParams($request)->string('ged', Site::getPreference('DEFAULT_GEDCOM'… 51 $mod = Validator::queryParams($request)->string('mod', ''); 52 $mod_action = Validator::queryParams($request)->string('mod_action', ''); 53 $rootid = Validator::queryParams($request)->string('rootid', ''); 65 …$generations = Validator::queryParams($request)->string('PEDIGREE_GENERATIONS', PedigreeMapModule:…
|
H A D | SearchPhoneticPage.php | 69 $firstname = Validator::queryParams($request)->string('firstname', ''); 70 $lastname = Validator::queryParams($request)->string('lastname', ''); 71 $place = Validator::queryParams($request)->string('place', ''); 72 …$soundex = Validator::queryParams($request)->isInArray(['DaitchM', 'Russell'])->string('soundex'… 75 $search_tree_names = Validator::queryParams($request)->array('search_trees');
|
H A D | MessagePage.php | 61 $body = Validator::queryParams($request)->string('body', ''); 62 $subject = Validator::queryParams($request)->string('subject', ''); 63 $to = Validator::queryParams($request)->string('to', ''); 64 … $url = Validator::queryParams($request)->isLocalUrl()->string('url', route(HomePage::class));
|
H A D | RedirectBranchesPhp.php | 52 … $ged = Validator::queryParams($request)->string('ged', Site::getPreference('DEFAULT_GEDCOM')); 62 'soundex_dm' => Validator::queryParams($request)->string('soundex_dm', ''), 63 'soundex_std' => Validator::queryParams($request)->string('soundex_std', ''), 64 'surname' => Validator::queryParams($request)->string('surname', ''),
|
H A D | RedirectHourGlassPhp.php | 50 … $ged = Validator::queryParams($request)->string('ged', Site::getPreference('DEFAULT_GEDCOM')); 59 $root_id = Validator::queryParams($request)->string('rootid', ''); 60 …$generations = Validator::queryParams($request)->string('generations', HourglassChartModule::DEFAU… 61 …$show_spouse = Validator::queryParams($request)->boolean('show_spouse', HourglassChartModule::DEFA…
|
H A D | RedirectPedigreePhp.php | 57 … $ged = Validator::queryParams($request)->string('ged', Site::getPreference('DEFAULT_GEDCOM')); 66 $root_id = Validator::queryParams($request)->string('rootid', ''); 67 …$generations = Validator::queryParams($request)->string('generations', PedigreeChartModule::DEFAUL… 68 $orientation = Validator::queryParams($request)->string('orientation', '');
|
/webtrees/app/Services/ |
H A D | DatatablesService.php | 53 $search = Validator::queryParams($request)->array('search')['value'] ?? ''; 54 $start = Validator::queryParams($request)->integer('start', 0); 55 $length = Validator::queryParams($request)->integer('length', 0); 56 $order = Validator::queryParams($request)->array('order'); 57 $draw = Validator::queryParams($request)->integer('draw', 0); 129 $search = Validator::queryParams($request)->array('search')['value'] ?? ''; 130 $start = Validator::queryParams($request)->integer('start', 0); 131 $length = Validator::queryParams($request)->integer('length', 0); 132 $order = Validator::queryParams($request)->array('order'); 133 $draw = Validator::queryParams($request)->integer('draw', 0);
|
H A D | SiteLogsService.php | 50 $tree = Validator::queryParams($request)->string('tree'); 51 $from = Validator::queryParams($request)->string('from'); 52 $to = Validator::queryParams($request)->string('to'); 53 $type = Validator::queryParams($request)->string('type'); 54 $text = Validator::queryParams($request)->string('text'); 55 $ip = Validator::queryParams($request)->string('ip'); 56 $username = Validator::queryParams($request)->string('username');
|
/webtrees/app/Module/ |
H A D | MediaListModule.php | 169 $go = Validator::queryParams($request)->boolean('go', false); 170 $page = Validator::queryParams($request)->integer('page', 1); 171 $max = Validator::queryParams($request)->integer('max', 20); 172 $folder = Validator::queryParams($request)->string('folder', ''); 173 $filter = Validator::queryParams($request)->string('filter', ''); 174 $subdirs = Validator::queryParams($request)->boolean('subdirs', false); 175 $format = Validator::queryParams($request)->isInArrayKeys($formats)->string('format', '');
|
H A D | ClippingsCartModule.php | 316 $xref = Validator::queryParams($request)->isXref()->string('xref'); 370 $xref = Validator::queryParams($request)->isXref()->string('xref'); 442 $xref = Validator::queryParams($request)->isXref()->string('xref'); 548 $xref = Validator::queryParams($request)->isXref()->string('xref'); 570 $xref = Validator::queryParams($request)->isXref()->string('xref'); 582 $xref = Validator::queryParams($request)->isXref()->string('xref'); 604 $xref = Validator::queryParams($request)->isXref()->string('xref'); 616 $xref = Validator::queryParams($request)->isXref()->string('xref'); 638 $xref = Validator::queryParams($request)->isXref()->string('xref'); 650 $xref = Validator::queryParams($request)->isXref()->string('xref'); [all …]
|
H A D | InteractiveTreeModule.php | 184 $xref = Validator::queryParams($request)->isXref()->string('xref'); 228 $pid = Validator::queryParams($request)->string('pid'); 231 $instance = Validator::queryParams($request)->string('instance'); 245 $q = Validator::queryParams($request)->string('q'); 246 $instance = Validator::queryParams($request)->string('instance');
|