Searched refs:gedrec (Results 1 – 5 of 5) sorted by relevance
/webtrees/app/Services/ |
H A D | GedcomImportService.php | 229 * @param string $gedrec the raw gedcom record to parse 236 public function importRecord(string $gedrec, Tree $tree, bool $update): void argument 242 $gedrec = str_replace('@@', '@', $gedrec); 246 $gedrec = $this->reformatRecord($gedrec, $tree); 249 …if (preg_match('/^0 @(' . Gedcom::REGEX_XREF . ')@ (' . Gedcom::REGEX_TAG . ')/', $gedrec, $match)… 251 } elseif (str_starts_with($gedrec, '0 HEAD')) { 254 } elseif (str_starts_with($gedrec, '0 TRLR')) { 258 } elseif (str_starts_with($gedrec, '0 _PLAC_DEFN')) { 259 $this->importLegacyPlacDefn($gedrec); 262 } elseif (str_starts_with($gedrec, '0 _PLAC ')) { [all …]
|
/webtrees/app/Http/RequestHandlers/ |
H A D | DeleteRecord.php | 112 * @param string $gedrec 117 private function removeLinks(string $gedrec, string $xref): string argument 119 …$gedrec = preg_replace('/\n1 ' . Gedcom::REGEX_TAG . ' @' . $xref . '@(\n[2-9].*)*/', '', $gedrec); 120 …$gedrec = preg_replace('/\n2 ' . Gedcom::REGEX_TAG . ' @' . $xref . '@(\n[3-9].*)*/', '', $gedrec); 121 …$gedrec = preg_replace('/\n3 ' . Gedcom::REGEX_TAG . ' @' . $xref . '@(\n[4-9].*)*/', '', $gedrec); 122 …$gedrec = preg_replace('/\n4 ' . Gedcom::REGEX_TAG . ' @' . $xref . '@(\n[5-9].*)*/', '', $gedrec); 123 …$gedrec = preg_replace('/\n5 ' . Gedcom::REGEX_TAG . ' @' . $xref . '@(\n[6-9].*)*/', '', $gedrec); 125 return $gedrec;
|
H A D | EditNoteAction.php | 55 $gedrec = preg_replace( 61 $note->updateRecord($gedrec, true);
|
/webtrees/app/Report/ |
H A D | ReportParserGenerate.php | 140 private string $gedrec = ''; variable in Fisharebest\\Webtrees\\Report\\ReportParserGenerate 220 * @param string $gedrec the parent gedcom record to search in 228 … public static function getSubRecord(int $level, string $tag, string $gedrec, int $num = 1): string argument 230 if ($gedrec === '') { 234 $gedrec = "\n" . $gedrec . "\n"; 237 …$ct = preg_match_all($searchTarget, $gedrec, $match, PREG_SET_ORDER | PREG_OFFSET_CAPTUR… 245 $pos2 = strpos($gedrec, "\n$level", $pos1 + 1); 247 $pos2 = strpos($gedrec, "\n1", $pos1 + 1); 250 $pos2 = strpos($gedrec, "\nWT_", $pos1 + 1); // WT_SPOUSE, WT_FAMILY_ID ... 253 return ltrim(substr($gedrec, $pos1)); [all …]
|
/webtrees/ |
H A D | phpstan-baseline.neon | 8848 …message: '#^Parameter \#1 \$gedrec of method Fisharebest\\Webtrees\\Services\\GedcomImportService\…
|