Lines Matching refs:tree

93 …  * @param Tree                                            $tree         Export data from this tree
103 Tree $tree, argument
115 …$resource = $this->export($tree, $sort_by_xref, $encoding, $access_level, $line_endings, $records);
131 $media_path = $tree->getPreference('MEDIA_DIRECTORY');
139 …$resource = $this->export($tree, $sort_by_xref, $encoding, $access_level, $line_endings, $records,…
162 …* @param Tree $tree Export data from this tree
174 Tree $tree, argument
194 new Collection([$this->createHeader($tree, $encoding, false)]),
201 new Collection([$this->createHeader($tree, $encoding, true)]),
202 $this->individualQuery($tree, $sort_by_xref)->cursor(),
203 $this->familyQuery($tree, $sort_by_xref)->cursor(),
204 $this->sourceQuery($tree, $sort_by_xref)->cursor(),
205 $this->otherQuery($tree, $sort_by_xref)->cursor(),
206 $this->mediaQuery($tree, $sort_by_xref)->cursor(),
211 …Registry::cache()->array()->remember(AbstractGedcomRecordFactory::class . $tree->id(), static fn (…
214 new Collection([$this->createHeader($tree, $encoding, true)]),
215 …$this->individualQuery($tree, $sort_by_xref)->get()->map(Registry::individualFactory()->mapper($tr…
216 … $this->familyQuery($tree, $sort_by_xref)->get()->map(Registry::familyFactory()->mapper($tree)),
217 … $this->sourceQuery($tree, $sort_by_xref)->get()->map(Registry::sourceFactory()->mapper($tree)),
218 …$this->otherQuery($tree, $sort_by_xref)->get()->map(Registry::gedcomRecordFactory()->mapper($tree)…
219 … $this->mediaQuery($tree, $sort_by_xref)->get()->map(Registry::mediaFactory()->mapper($tree)),
224 $media_filesystem = $tree->mediaFilesystem();
278 public function createHeader(Tree $tree, string $encoding, bool $include_sub): string argument
281 $filename = $tree->name();
308 … Registry::headerFactory()->make('HEAD', $tree) ?? Registry::headerFactory()->new('HEAD', '0 HEAD'…
360 private function familyQuery(Tree $tree, bool $sort_by_xref): Builder argument
363 ->where('f_file', '=', $tree->id())
375 private function individualQuery(Tree $tree, bool $sort_by_xref): Builder argument
378 ->where('i_file', '=', $tree->id())
390 private function sourceQuery(Tree $tree, bool $sort_by_xref): Builder argument
393 ->where('s_file', '=', $tree->id())
405 private function mediaQuery(Tree $tree, bool $sort_by_xref): Builder argument
408 ->where('m_file', '=', $tree->id())
420 private function otherQuery(Tree $tree, bool $sort_by_xref): Builder argument
423 ->where('o_file', '=', $tree->id())