Lines Matching refs:tree

102         $tree    = Validator::attributes($request)->tree();
109 ->where('i_file', '=', $tree->id())
112 ->where('f_file', '=', $tree->id())
115 ->where('m_file', '=', $tree->id())
118 ->where('s_file', '=', $tree->id())
121 ->where('o_file', '=', $tree->id())
124 ->where('gedcom_id', '=', $tree->id())
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, $…
231 … $message = $this->linkErrorMessage($tree, $xref1, $linked->type, Family::RECORD_TYPE);
232 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
234 … $message = $this->linkErrorMessage($tree, $xref1, $linked->type, Individual::RECORD_TYPE);
235 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
237 … $message = $this->linkErrorMessage($tree, $xref1, $linked->type, Media::RECORD_TYPE);
238 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
240 … $message = $this->linkErrorMessage($tree, $xref1, $linked->type, Note::RECORD_TYPE);
241 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
243 … $message = $this->linkErrorMessage($tree, $xref1, $linked->type, Source::RECORD_TYPE);
244 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
246 … $message = $this->linkErrorMessage($tree, $xref1, $linked->type, Repository::RECORD_TYPE);
247 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
249 … $message = $this->linkErrorMessage($tree, $xref1, $linked->type, Submitter::RECORD_TYPE);
250 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
252 … $message = $this->linkErrorMessage($tree, $xref1, $linked->type, Submission::RECORD_TYPE);
253 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
255 … $message = $this->linkErrorMessage($tree, $xref1, $linked->type, Location::RECORD_TYPE);
256 …$errors[] = $this->lineError($tree, $record->type, $record->xref, $line_number, $line, $message, $…
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, $…
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, $…
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, $…
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');
324 $title = I18N::translate('Check for errors') . ' — ' . e($tree->title());
329 $more_url = route(self::class, ['tree' => $tree->name(), 'skip_to' => $skip_to]);
337 'tree' => $tree,
366 * @param Tree $tree
371 private function recordLink(Tree $tree, string $xref): string argument
373 $url = route(GedcomRecordPage::class, ['xref' => $xref, 'tree' => $tree->name()]);
379 * @param Tree $tree
386 … private function linkErrorMessage(Tree $tree, string $xref, string $type1, string $type2): string argument
388 $link = $this->recordLink($tree, $xref);
398 * @param Tree $tree
409 Tree $tree, argument
418 … I18N::translate('%1$s: %2$s', $this->recordType($type), $this->recordLink($tree, $xref)) .
434 * @param Tree $tree
442 …private function recordError(Tree $tree, string $type, string $xref, string $message, string $tag)… argument
444 …$message = I18N::translate('%1$s: %2$s', $this->recordType($type), $this->recordLink($tree, $xref)…