Lines Matching refs:record

173         foreach ($records as $record) {
175 if ($skip_to === $record->xref) {
180 $skip_to = $record->xref;
184 $lines = explode("\n", $record->gedcom);
188 $hierarchy = [$record->type];
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 . '@')) {
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 . '@')) {
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 . '@')) {
269 $link2 = $this->recordLink($tree, $record->xref);
271 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
272 …ains($linked->gedcom, "\n1 HUSB @" . $record->xref . '@') && !str_contains($linked->gedcom, "\n1 W…
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, $…
312 if ($record->type === Family::RECORD_TYPE) {
313 if (substr_count($record->gedcom, "\n1 HUSB @") > 1) {
315 … $errors[] = $this->recordError($tree, $record->type, $record->xref, $message, 'FAM:HUSB-count');
317 if (substr_count($record->gedcom, "\n1 WIFE @") > 1) {
319 … $errors[] = $this->recordError($tree, $record->type, $record->xref, $message, 'FAM:WIFE-count');