Home
last modified time | relevance | path

Searched refs:addcslashes (Results 1 – 17 of 17) sorted by relevance

/webtrees/resources/views/setup/
H A Dconfig.ini.phtml18 dbtype="<?= addcslashes($dbtype, '"') ?>"
19 dbhost="<?= addcslashes($dbhost, '"') ?>"
20 dbport="<?= addcslashes($dbport, '"') ?>"
21 dbuser="<?= addcslashes($dbuser, '"') ?>"
22 dbpass="<?= addcslashes($dbpass, '"') ?>"
23 dbname="<?= addcslashes($dbname, '"') ?>"
24 tblpfx="<?= addcslashes($tblpfx, '"') ?>"
25 base_url="<?= addcslashes($baseurl, '"') ?>"
/webtrees/app/Module/
H A DFixPlaceNames.php28 use function addcslashes; alias
95 $search = '%' . addcslashes($params['search-for'], '\\%_') . '%';
117 $search = '%' . addcslashes($params['search-for'], '\\%_') . '%';
180 $replace = '$1' . addcslashes($params['replace-with'], '$\\') . '$2';
H A DFixSearchAndReplace.php40 use function addcslashes; alias
388 $regex = '/' . addcslashes($search, '/') . '/u' . $case;
417 $like = '%' . addcslashes($search, '\\%_') . '%';
H A DMediaListModule.php39 use function addcslashes; alias
282 $like = '%' . addcslashes($filter, '\\%_') . '%';
/webtrees/app/Services/
H A DSiteLogsService.php34 use function addcslashes; alias
88 $query->where('log_message', 'LIKE', '%' . addcslashes($text, '\\%_') . '%');
92 $query->where('ip_address', 'LIKE', addcslashes($ip, '\\%_') . '%');
H A DPendingChangesService.php47 use function addcslashes; alias
322 $query->where('old_gedcom', 'LIKE', '%' . addcslashes($oldged, '\\%_') . '%');
325 $query->where('new_gedcom', 'LIKE', '%' . addcslashes($newged, '\\%_') . '%');
333 $query->where('user_name', 'LIKE', '%' . addcslashes($username, '\\%_') . '%');
H A DGedcomExportService.php48 use function addcslashes; alias
121 …->withHeader('content-disposition', 'attachment; filename="' . addcslashes($filename, '"') . '.ged…
156 …->withHeader('content-disposition', 'attachment; filename="' . addcslashes($filename, '"') . $exte…
H A DDatatablesService.php30 use function addcslashes; alias
141 $like = '%' . addcslashes($search, '\\%_') . '%';
H A DLinkedRecordService.php38 use function addcslashes; alias
54 $like = addcslashes($record->xref(), '\\%_');
H A DSearchService.php48 use function addcslashes; alias
492 … $query->where('p' . $level . '.p_place', DB::iLike(), '%' . addcslashes($string, '\\%_') . '%');
1075 $query->where($column, DB::iLike(), '%' . addcslashes($search_term, '\\%_') . '%');
/webtrees/app/Http/RequestHandlers/
H A DReportGenerate.php36 use function addcslashes; alias
110 …response->withHeader('content-disposition', 'attachment; filename="' . addcslashes($report, '"') .…
123 … $headers['content-disposition'] = 'attachment; filename="' . addcslashes($report, '"') . '.pdf"';
H A DMapDataExportGeoJson.php30 use function addcslashes; alias
129 $filename = addcslashes($filename, '"');
H A DMapDataExportCSV.php30 use function addcslashes; alias
171 $filename = addcslashes($filename, '"');
H A DFixLevel0MediaData.php36 use function addcslashes; alias
108 ->where('descriptive_title', 'LIKE', '%' . addcslashes($search, '\\%_') . '%')
/webtrees/app/Cli/Commands/
H A DTreeExport.php35 use function addcslashes; alias
63 ->where('tree_name', 'LIKE', addcslashes($input->getCompletionValue(), '%_\\') . '%')
/webtrees/app/Factories/
H A DImageFactory.php45 use function addcslashes; alias
91 … $filename = $download ? addcslashes(string: basename(path: $path), characters: '"') : '';
300 …->withHeader('content-disposition', 'attachment; filename="' . addcslashes(string: basename(path: …
/webtrees/app/Report/
H A DReportParserGenerate.php48 use function addcslashes; alias
1945 … $query->where($attr . '.n_full', 'LIKE', '%' . addcslashes($name, '\\%_') . '%');
1971 … ->where($attr . 'b.p_place', 'LIKE', '%' . addcslashes($match[1], '\\%_') . '%');
2045 … $query->where($attr . '.n_full', 'LIKE', '%' . addcslashes($name, '\\%_') . '%');
2065 … ->where($attr . 'b.p_place', 'LIKE', '%' . addcslashes($match[1], '\\%_') . '%');
2836 return "'" . addcslashes($this->vars[$matches[1]]['id'], "'") . "'";