Lines Matching refs:xref
155 $records[$row->xref] = $row;
158 unset($records[$row->xref]);
161 $xrefs[strtoupper($row->xref)] = $row->xref;
175 if ($skip_to === $record->xref) {
180 $skip_to = $record->xref;
192 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, I18N::trans…
198 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, I18N::trans…
216 …$warnings[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message,…
219 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
229 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
232 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
235 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
238 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
241 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
244 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
247 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
250 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
253 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
256 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
257 … $full_tag === 'FAM:WIFE') && !str_contains($linked->gedcom, "\n1 FAMS @" . $record->xref . '@')) {
258 $link1 = $this->recordLink($tree, $linked->xref);
259 $link2 = $this->recordLink($tree, $record->xref);
261 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
262 … ($full_tag === 'FAM:CHIL' && !str_contains($linked->gedcom, "\n1 FAMC @" . $record->xref . '@')) {
263 $link1 = $this->recordLink($tree, $linked->xref);
264 $link2 = $this->recordLink($tree, $record->xref);
266 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
267 …($full_tag === 'INDI:FAMC' && !str_contains($linked->gedcom, "\n1 CHIL @" . $record->xref . '@')) {
268 $link1 = $this->recordLink($tree, $linked->xref);
269 $link2 = $this->recordLink($tree, $record->xref);
271 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
272 …inked->gedcom, "\n1 HUSB @" . $record->xref . '@') && !str_contains($linked->gedcom, "\n1 WIFE @" …
273 $link1 = $this->recordLink($tree, $linked->xref);
274 $link2 = $this->recordLink($tree, $record->xref);
276 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
279 …$warnings[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message,…
283 …$warnings[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message,…
286 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
294 …$infos[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $f…
301 …$warnings[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message,…
304 …$warnings[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message,…
308 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
315 … $errors[] = $this->recordError($tree, $record->type, $record->xref, $message, 'FAM:HUSB-count');
319 … $errors[] = $this->recordError($tree, $record->type, $record->xref, $message, 'FAM:WIFE-count');
367 * @param string $xref
371 private function recordLink(Tree $tree, string $xref): string argument
373 $url = route(GedcomRecordPage::class, ['xref' => $xref, 'tree' => $tree->name()]);
375 return '<a href="' . e($url) . '">' . e($xref) . '</a>';
380 * @param string $xref
386 … private function linkErrorMessage(Tree $tree, string $xref, string $type1, string $type2): string argument
388 $link = $this->recordLink($tree, $xref);
400 * @param string $xref
411 string $xref, argument
418 … I18N::translate('%1$s: %2$s', $this->recordType($type), $this->recordLink($tree, $xref)) .
436 * @param string $xref
442 …private function recordError(Tree $tree, string $type, string $xref, string $message, string $tag)… argument
444 …anslate('%1$s: %2$s', $this->recordType($type), $this->recordLink($tree, $xref)) . ' — ' . $messag…