/webtrees/app/Http/RequestHandlers/ |
H A D | SearchReplaceAction.php | 61 $search = Validator::parsedBody($request)->string('search'); 67 $records = $this->search_service->searchIndividuals([$tree], [$search]); 68 $count = $this->replaceRecords($records, $search, $replace); 71 $records = $this->search_service->searchFamilies([$tree], [$search]); 72 $count = $this->replaceRecords($records, $search, $replace); 75 $records = $this->search_service->searchRepositories([$tree], [$search]); 76 $count = $this->replaceRecords($records, $search, $replace); 79 $records = $this->search_service->searchSources([$tree], [$search]); 80 $count = $this->replaceRecords($records, $search, $replace); 83 $records = $this->search_service->searchNotes([$tree], [$search]); [all …]
|
H A D | TomSelectLocation.php | 59 …protected function search(Tree $tree, string $query, int $offset, int $limit, string $at): Collect… function in Fisharebest\\Webtrees\\Http\\RequestHandlers\\TomSelectLocation 67 $search = array_filter(explode(' ', $query)); 68 $results = $this->search_service->searchLocations([$tree], $search, $offset, $limit);
|
H A D | TomSelectFamily.php | 59 …protected function search(Tree $tree, string $query, int $offset, int $limit, string $at): Collect… function in Fisharebest\\Webtrees\\Http\\RequestHandlers\\TomSelectFamily 67 $search = array_filter(explode(' ', $query)); 68 $results = $this->search_service->searchFamilyNames([$tree], $search, $offset, $limit);
|
H A D | TomSelectRepository.php | 59 …protected function search(Tree $tree, string $query, int $offset, int $limit, string $at): Collect… function in Fisharebest\\Webtrees\\Http\\RequestHandlers\\TomSelectRepository 67 $search = array_filter(explode(' ', $query)); 68 $results = $this->search_service->searchRepositories([$tree], $search, $offset, $limit);
|
H A D | TomSelectSource.php | 59 …protected function search(Tree $tree, string $query, int $offset, int $limit, string $at): Collect… function in Fisharebest\\Webtrees\\Http\\RequestHandlers\\TomSelectSource 67 $search = array_filter(explode(' ', $query)); 68 … $results = $this->search_service->searchSourcesByName([$tree], $search, $offset, $limit);
|
H A D | TomSelectNote.php | 59 …protected function search(Tree $tree, string $query, int $offset, int $limit, string $at): Collect… function in Fisharebest\\Webtrees\\Http\\RequestHandlers\\TomSelectNote 67 $search = array_filter(explode(' ', $query)); 68 $results = $this->search_service->searchNotes([$tree], $search, $offset, $limit);
|
H A D | TomSelectIndividual.php | 58 …protected function search(Tree $tree, string $query, int $offset, int $limit, string $at): Collect… function in Fisharebest\\Webtrees\\Http\\RequestHandlers\\TomSelectIndividual 66 $search = array_filter(explode(' ', $query)); 67 … $results = $this->search_service->searchIndividualNames([$tree], $search, $offset, $limit);
|
H A D | TomSelectSubmission.php | 59 …protected function search(Tree $tree, string $query, int $offset, int $limit, string $at): Collect… function in Fisharebest\\Webtrees\\Http\\RequestHandlers\\TomSelectSubmission 67 $search = array_filter(explode(' ', $query)); 68 $results = $this->search_service->searchSubmissions([$tree], $search, $offset, $limit);
|
H A D | TomSelectMediaObject.php | 59 …protected function search(Tree $tree, string $query, int $offset, int $limit, string $at): Collect… function in Fisharebest\\Webtrees\\Http\\RequestHandlers\\TomSelectMediaObject 67 $search = array_filter(explode(' ', $query)); 68 $results = $this->search_service->searchMedia([$tree], $search, $offset, $limit);
|
H A D | TomSelectSubmitter.php | 59 …protected function search(Tree $tree, string $query, int $offset, int $limit, string $at): Collect… function in Fisharebest\\Webtrees\\Http\\RequestHandlers\\TomSelectSubmitter 67 $search = array_filter(explode(' ', $query)); 68 $results = $this->search_service->searchSubmitters([$tree], $search, $offset, $limit);
|
H A D | TomSelectSharedNote.php | 59 …protected function search(Tree $tree, string $query, int $offset, int $limit, string $at): Collect… function in Fisharebest\\Webtrees\\Http\\RequestHandlers\\TomSelectSharedNote 67 $search = array_filter(explode(' ', $query)); 68 $results = $this->search_service->searchSharedNotes([$tree], $search, $offset, $limit);
|
H A D | AbstractAutocompleteHandler.php | 58 $data = $this->search($request) 70 abstract protected function search(ServerRequestInterface $request): Collection; function in Fisharebest\\Webtrees\\Http\\RequestHandlers\\AbstractAutocompleteHandler
|
H A D | SearchReplacePage.php | 48 $search = Validator::queryParams($request)->string('search', ''); 54 'search' => $search,
|
H A D | AbstractTomSelectHandler.php | 57 $results = $this->search($tree, $query, $offset, $limit, $at ? '@' : ''); 85 …abstract protected function search(Tree $tree, string $query, int $offset, int $limit, string $at)… function in Fisharebest\\Webtrees\\Http\\RequestHandlers\\AbstractTomSelectHandler
|
/webtrees/app/Services/ |
H A D | SearchService.php | 88 public function searchFamilies(array $trees, array $search): Collection argument 93 $this->whereSearch($query, 'f_gedcom', $search); 100 ->filter($this->rawGedcomFilter($search)); 113 …public function searchFamilyNames(array $trees, array $search, int $offset = 0, int $limit = PHP_I… argument 133 $this->whereSearch($query, $field, $search); 171 public function searchIndividuals(array $trees, array $search): Collection argument 176 $this->whereSearch($query, 'i_gedcom', $search); 183 ->filter($this->rawGedcomFilter($search)); 196 …public function searchIndividualNames(array $trees, array $search, int $offset = 0, int $limit = P… argument 208 $this->whereSearch($query, 'n_full', $search); [all …]
|
H A D | DatatablesService.php | 53 $search = Validator::queryParams($request)->array('search')['value'] ?? ''; 63 if ($search !== '') { 64 …$collection = $collection->filter(static function (array $row) use ($search, $search_columns): boo… 66 if (stripos($row[$search_column], $search) !== false) { 129 $search = Validator::queryParams($request)->array('search')['value'] ?? ''; 139 if ($search !== '') { 140 $query->where(static function (Builder $query) use ($search, $search_columns): void { 141 $like = '%' . addcslashes($search, '\\%_') . '%';
|
/webtrees/app/Module/ |
H A D | FixPlaceNames.php | 95 $search = '%' . addcslashes($params['search-for'], '\\%_') . '%'; variable in Fisharebest\\Webtrees\\Module\\FixPlaceNames 98 ->where('f_gedcom', 'LIKE', $search) 117 $search = '%' . addcslashes($params['search-for'], '\\%_') . '%'; variable in Fisharebest\\Webtrees\\Module\\FixPlaceNames 121 ->where('i_gedcom', 'LIKE', $search) 135 $search = preg_quote($params['search-for'], '/'); 136 $regex = '/\n2 PLAC (?:.*, )?' . $search . '(\n|$)/'; 178 $search = preg_quote($params['search-for'], '/'); 179 $regex = '/(\n2 PLAC (?:.*, )?)' . $search . '(\n|$)/';
|
H A D | FixSearchAndReplace.php | 373 $search = $params['search-for']; 379 return '/' . preg_quote($search, '/') . '/u' . $case; 382 return '/\b' . preg_quote($search, '/') . '\b/u' . $case; 385 … return '/\b' . strtr(preg_quote($search, '/'), ['\*' => '.*', '\?' => '.']) . '\b/u' . $case; 388 $regex = '/' . addcslashes($search, '/') . '/u' . $case; 415 $search = $params['search-for']; 417 $like = '%' . addcslashes($search, '\\%_') . '%'; 433 $search = strtr($search, ['\n' => "\n"]); 435 $query->where($column, DB::regexOperator(), $search);
|
H A D | DescendancyModule.php | 86 $search = Validator::queryParams($request)->string('search'); 90 if (strlen($search) >= 2) { 92 ->searchIndividualNames([$tree], [$search])
|
/webtrees/resources/css/ |
H A D | colors.css | 74 * | +---wt-header-search 75 * | | +---wt-header-search-form 76 * | | +---wt-header-search-field 77 * | | +---wt-header-search-button 117 .wt-header-search { 310 .menu-search .nav-link::before { 311 content: url(colors/menu/search.png); 314 .menu-search .dropdown-item:not(:first-child)::before { 315 content: url(colors/menu/search-search.png);
|
H A D | xenea.css | 65 * | +---wt-header-search 66 * | | +---wt-header-search-form 67 * | | +---wt-header-search-field 68 * | | +---wt-header-search-button 114 .wt-header-search { 120 .wt-header-search-form { 123 .wt-header-search-field { 126 .wt-header-search-button { 132 .wt-header-search-button .fa-search::before { 336 .menu-search .nav-link::before { [all …]
|
H A D | webtrees.css | 65 * | +---wt-header-search 66 * | | +---wt-header-search-form 67 * | | +---wt-header-search-field 68 * | | +---wt-header-search-button 118 .wt-header-search { 125 .wt-header-search-form { 128 .wt-header-search-field { 131 .wt-header-search-button { 338 .menu-search .nav-link::before { 339 content: url(webtrees/menu/search.png); [all …]
|
H A D | clouds.css | 69 * | +---wt-header-search 70 * | | +---wt-header-search-form 71 * | | +---wt-header-search-field 72 * | | +---wt-header-search-button 125 .wt-header-search { 130 .wt-header-search-form { 133 .wt-header-search-field { 136 .wt-header-search-button { 356 .menu-search .nav-link::before { 357 content: url(clouds/menu/search.png); [all …]
|
H A D | minimal.css | 65 * | +---wt-header-search 66 * | | +---wt-header-search-form 67 * | | +---wt-header-search-field 68 * | | +---wt-header-search-button 114 .wt-header-search { 119 .wt-header-search-form { 122 .wt-header-search-field { 125 .wt-header-search-button {
|
H A D | fab.css | 67 * | +---wt-header-search 68 * | | +---wt-header-search-form 69 * | | +---wt-header-search-field 70 * | | +---wt-header-search-button 115 .wt-header-search { 120 .wt-header-search-form { 123 .wt-header-search-field { 126 .wt-header-search-button {
|