Lines Matching refs:tree

44      * @param Tree $tree
48 public function fixOptions(Tree $tree): string argument
57 * @param Tree $tree
62 public function recordsToFix(Tree $tree, array $params): Collection argument
64 $families = $this->familiesToFix($tree, $params);
65 $individuals = $this->individualsToFix($tree, $params);
66 $locations = $this->locationsToFix($tree, $params);
67 $media = $this->mediaToFix($tree, $params);
68 $notes = $this->notesToFix($tree, $params);
69 $repositories = $this->repositoriesToFix($tree, $params);
70 $sources = $this->sourcesToFix($tree, $params);
71 $submitters = $this->submittersToFix($tree, $params);
76 … $records = $records->concat($this->mergePendingRecords($families, $tree, Family::RECORD_TYPE));
80 …$records = $records->concat($this->mergePendingRecords($individuals, $tree, Individual::RECORD_TYP…
84 … $records = $records->concat($this->mergePendingRecords($locations, $tree, Location::RECORD_TYPE));
88 … $records = $records->concat($this->mergePendingRecords($media, $tree, Media::RECORD_TYPE));
92 … $records = $records->concat($this->mergePendingRecords($notes, $tree, Note::RECORD_TYPE));
96 …$records = $records->concat($this->mergePendingRecords($repositories, $tree, Repository::RECORD_TY…
100 … $records = $records->concat($this->mergePendingRecords($sources, $tree, Source::RECORD_TYPE));
104 …$records = $records->concat($this->mergePendingRecords($submitters, $tree, Submitter::RECORD_TYPE)…
153 * @param Tree $tree
158 protected function familiesToFix(Tree $tree, array $params): Collection|null argument
164 * @param Tree $tree
169 protected function familiesToFixQuery(Tree $tree, array $params): Builder argument
172 ->where('f_file', '=', $tree->id());
184 * @param Tree $tree
189 protected function individualsToFix(Tree $tree, array $params): Collection|null argument
195 * @param Tree $tree
200 protected function individualsToFixQuery(Tree $tree, array $params): Builder argument
203 ->where('i_file', '=', $tree->id());
215 * @param Tree $tree
220 protected function locationsToFix(Tree $tree, array $params): Collection|null argument
226 * @param Tree $tree
231 protected function locationsToFixQuery(Tree $tree, array $params): Builder argument
235 ->where('o_file', '=', $tree->id());
247 * @param Tree $tree
252 protected function mediaToFix(Tree $tree, array $params): Collection|null argument
258 * @param Tree $tree
263 protected function mediaToFixQuery(Tree $tree, array $params): Builder argument
266 ->where('m_file', '=', $tree->id());
278 * @param Tree $tree
283 protected function notesToFix(Tree $tree, array $params): Collection|null argument
289 * @param Tree $tree
294 protected function notesToFixQuery(Tree $tree, array $params): Builder argument
298 ->where('o_file', '=', $tree->id());
310 * @param Tree $tree
315 protected function repositoriesToFix(Tree $tree, array $params): Collection|null argument
321 * @param Tree $tree
326 protected function repositoriesToFixQuery(Tree $tree, array $params): Builder argument
330 ->where('o_file', '=', $tree->id());
342 * @param Tree $tree
347 protected function sourcesToFix(Tree $tree, array $params): Collection|null argument
353 * @param Tree $tree
358 protected function sourcesToFixQuery(Tree $tree, array $params): Builder argument
361 ->where('s_file', '=', $tree->id());
373 * @param Tree $tree
378 protected function submittersToFix(Tree $tree, array $params): Collection|null argument
384 * @param Tree $tree
389 protected function submittersToFixQuery(Tree $tree, array $params): Builder argument
393 ->where('o_file', '=', $tree->id());
406 * @param Tree $tree
411 private function mergePendingRecords(Collection $records, Tree $tree, string $type): Collection argument
414 ->where('gedcom_id', '=', $tree->id())