Home
last modified time | relevance | path

Searched refs:trim (Results 1 – 25 of 51) sorted by relevance

123

/webtrees/app/Report/
H A DReportParserGenerate.php82 use function trim; alias
235 $tag = trim($tag);
724 $level = 1 + (int) explode(' ', trim($tgedrec))[0];
736 $this->desc = trim($match[3]);
994 $this->current_element->addText(trim($name));
1024 $value = trim($value);
1032 $level = (int) explode(' ', trim($this->gedrec))[0];
1101 $value = trim($value);
1106 $level = (int) explode(' ', trim($this->gedrec))[0];
1399 $this->type = trim($tmatch[1]);
[all …]
H A DReportBaseElement.php23 use function trim; alias
80 $t = trim($t, "\r\n\t");
/webtrees/resources/js/
H A Dwebtrees.js35 function trim (str) { function
36 return str.replace(/\s+/g, ' ').trim();
134 npfx = trim(npfx);
135 givn = trim(givn.replace(/,/g, separator));
136 spfx = trim(spfx);
137 surn = inflectSurname(trim(surn.replace(/,/g, separator)), sex);
138 nsfx = trim(nsfx);
142 const surname = trim(spfx + surname_separator + surn);
146 return trim(npfx + separator + name + separator + nsfx);
/webtrees/app/Http/RequestHandlers/
H A DEditRawRecordAction.php35 use function trim; alias
82 $gedcom .= "\n" . trim($fact);
87 $gedcom = trim($gedcom);
H A DEditRawFactAction.php31 use function trim; alias
54 $gedcom = trim($gedcom); // Leading/trailing spaces
H A DAddNewFact.php34 use function trim; alias
74 $fact = new Fact(trim('1 ' . $subtag . ' ' . $element->default($tree)), $record, 'new');
H A DUploadMediaAction.php43 use function trim; alias
98 $filename = trim($filename, '/');
H A DEditMediaFileAction.php42 use function trim; alias
101 $folder = trim($folder, '/');
H A DFamilyPage.php43 use function trim; alias
155 $meta_facts = array_map(static fn (string $x): string => trim($x), $meta_facts);
/webtrees/app/Elements/
H A DAbstractElement.php36 use function trim; alias
102 return trim($value);
116 return trim($value, "\n");
H A DPlaceHierarchy.php23 use function trim; alias
55 return trim($value, ', ');
H A DXrefFamily.php25 use function trim; alias
49 'family' => Registry::familyFactory()->make(trim($value, '@'), $tree),
H A DPlaceName.php27 use function trim; alias
68 return trim($value);
H A DXrefNote.php29 use function trim; alias
53 'note' => Registry::noteFactory()->make(trim($value, '@'), $tree),
H A DXrefSharedNote.php29 use function trim; alias
53 'shared_note' => Registry::sharedNoteFactory()->make(trim($value, '@'), $tree),
H A DXrefLocation.php29 use function trim; alias
53 'location' => Registry::locationFactory()->make(trim($value, '@'), $tree),
H A DXrefSubmission.php29 use function trim; alias
53 'submission' => Registry::submissionFactory()->make(trim($value, '@'), $tree),
H A DXrefSubmitter.php29 use function trim; alias
53 'submitter' => Registry::submitterFactory()->make(trim($value, '@'), $tree),
H A DXrefRepository.php29 use function trim; alias
58 'repository' => Registry::repositoryFactory()->make(trim($value, '@'), $tree),
H A DXrefSource.php32 use function trim; alias
67 'source' => Registry::sourceFactory()->make(trim($value, '@'), $tree),
H A DXrefMedia.php31 use function trim; alias
55 'media' => Registry::mediaFactory()->make(trim($value, '@'), $tree),
H A DEventsRecorded.php31 use function trim; alias
110 return trim($value, ',');
/webtrees/app/Factories/
H A DSlugFactory.php30 use function trim; alias
69 return trim($slug, '-');
/webtrees/app/
H A DPlaceLocation.php28 use function trim; alias
51 $location_name = trim($location_name);
/webtrees/app/Services/
H A DServerCheckService.php39 use function trim; alias
165 …$disable_functions = array_map(static fn (string $func): string => strtolower(trim($func)), $disab…

123