/webtrees/app/Module/ |
H A D | ModuleDataFixTrait.php | 32 use Fisharebest\Webtrees\Tree; alias 44 * @param Tree $tree 48 public function fixOptions(Tree $tree): string 57 * @param Tree $tree 62 public function recordsToFix(Tree $tree, array $params): Collection 153 * @param Tree $tree 158 protected function familiesToFix(Tree $tree, array $params): Collection|null 164 * @param Tree $tree 169 protected function familiesToFixQuery(Tree $tree, array $params): Builder 184 * @param Tree $tree [all …]
|
H A D | FixDuplicateLinks.php | 25 use Fisharebest\Webtrees\Tree; alias 69 * @param Tree $tree 74 protected function familiesToFix(Tree $tree, array $params): Collection 85 * @param Tree $tree 90 protected function individualsToFix(Tree $tree, array $params): Collection|null 101 * @param Tree $tree 106 protected function mediaToFix(Tree $tree, array $params): Collection 117 * @param Tree $tree 122 protected function notesToFix(Tree $tree, array $params): Collection 133 * @param Tree $tree [all …]
|
H A D | ModuleThemeTrait.php | 44 use Fisharebest\Webtrees\Tree; alias 194 * @param Tree $tree 198 public function menuChangeBlocks(Tree $tree): Menu|null 217 * @param Tree $tree 221 public function menuControlPanel(Tree $tree): Menu|null 309 * @param Tree|null $tree 313 public function menuMyAccount(Tree|null $tree): Menu 323 * @param Tree $tree 327 public function menuMyIndividualRecord(Tree $tree): Menu|null 341 * @param Tree $tree [all …]
|
H A D | FixSearchAndReplace.php | 35 use Fisharebest\Webtrees\Tree; alias 87 * @param Tree $tree 91 public function fixOptions(Tree $tree): string 126 * @param Tree $tree 131 protected function familiesToFix(Tree $tree, array $params): Collection|null 147 * @param Tree $tree 152 protected function individualsToFix(Tree $tree, array $params): Collection|null 170 * @param Tree $tree 175 protected function locationsToFix(Tree $tree, array $params): Collection|null 194 * @param Tree $tree [all …]
|
H A D | SiteMapModule.php | 39 use Fisharebest\Webtrees\Tree; alias 196 … ->filter(static fn (Tree $tree): bool => $tree->getPreference('include_in_sitemap') === '1') 197 ->map(static fn (Tree $tree): int => $tree->id()); 303 * @param Tree $tree 310 private function sitemapRecords(Tree $tree, string $type, int $limit, int $offset): Collection 352 * @param Tree $tree 358 private function sitemapFamilies(Tree $tree, int $limit, int $offset): Collection 370 * @param Tree $tree 376 private function sitemapIndividuals(Tree $tree, int $limit, int $offset): Collection 388 * @param Tree $tree [all …]
|
H A D | SearchMenuModule.php | 29 use Fisharebest\Webtrees\Tree; alias 70 * @param Tree $tree 74 public function getMenu(Tree $tree): Menu|null 89 * @param Tree $tree 93 protected function menuSearchGeneral(Tree $tree): Menu 99 * @param Tree $tree 103 protected function menuSearchPhonetic(Tree $tree): Menu 112 * @param Tree $tree 116 protected function menuSearchAdvanced(Tree $tree): Menu 124 * @param Tree $tree [all …]
|
H A D | CalendarMenuModule.php | 25 use Fisharebest\Webtrees\Tree; alias 64 public function getMenu(Tree $tree): Menu|null 76 * @param Tree $tree 80 protected function calendarDayMenu(Tree $tree): Menu 89 * @param Tree $tree 93 protected function calendarMonthMenu(Tree $tree): Menu 102 * @param Tree $tree 106 protected function calendarYearMenu(Tree $tree): Menu
|
H A D | FamilyTreeFavoritesModule.php | 28 use Fisharebest\Webtrees\Tree; alias 61 * @param Tree $tree 68 public function getBlock(Tree $tree, int $block_id, string $context, array $config = []): string 125 * @param Tree $tree 129 public function getFavorites(Tree $tree): array 207 * @param Tree $tree 214 private function addUrlFavorite(Tree $tree, string $url, string $title, string $note): void 228 * @param Tree $tree 234 private function addRecordFavorite(Tree $tree, GedcomRecord $record, string $note): void 246 private function getRecordForType(string $type, string $xref, Tree $tree): GedcomRecord|null
|
H A D | UserFavoritesModule.php | 29 use Fisharebest\Webtrees\Tree; alias 62 * @param Tree $tree 69 public function getBlock(Tree $tree, int $block_id, string $context, array $config = []): string 126 * @param Tree $tree 131 public function getFavorites(Tree $tree, UserInterface $user): array 209 * @param Tree $tree 217 …private function addUrlFavorite(Tree $tree, UserInterface $user, string $url, string $title, strin… 231 * @param Tree $tree 238 …private function addRecordFavorite(Tree $tree, UserInterface $user, GedcomRecord $record, string $… 250 private function getRecordForType(string $type, string $xref, Tree $tree): GedcomRecord|null
|
/webtrees/app/Services/ |
H A D | TreeService.php | 30 use Fisharebest\Webtrees\Tree; alias 136 … ->mapWithKeys(static fn (object $row): array => [$row->tree_name => Tree::rowMapper()($row)]); 145 * @return Tree 147 public function find(int $id): Tree 149 $tree = $this->all()->first(static fn (Tree $tree): bool => $tree->id() === $id); 151 if ($tree instanceof Tree) { 165 return $this->all()->map(static fn (Tree $tree): string => $tree->title())->all(); 172 * @return Tree 174 public function create(string $name, string $title): Tree 182 $tree = new Tree($tree_id, $name, $title); [all …]
|
/webtrees/app/Contracts/ |
H A D | ElementInterface.php | 22 use Fisharebest\Webtrees\Tree; alias 48 * @param Tree $tree 52 public function default(Tree $tree): string; 60 * @param Tree $tree 64 public function edit(string $id, string $name, string $value, Tree $tree): string; 86 * @param Tree $tree 90 public function labelValue(string $value, Tree $tree): string; 112 * @param Tree $tree 116 public function value(string $value, Tree $tree): string;
|
/webtrees/app/Statistics/Google/ |
H A D | ChartDistribution.php | 26 use Fisharebest\Webtrees\Tree; alias 40 private Tree $tree; 52 * @param Tree $tree 57 Tree $tree, 128 * @param Tree $tree 132 private function countIndividualsByCountry(Tree $tree): array 164 * @param Tree $tree 169 private function countSurnamesByCountry(Tree $tree, string $surname): array 203 * @param Tree $tree 208 private function countFamilyEventsByCountry(Tree $tree, string $fact): array [all …]
|
/webtrees/app/Factories/ |
H A D | IndividualFactory.php | 27 use Fisharebest\Webtrees\Tree; alias 42 * @param Tree $tree 47 public function make(string $xref, Tree $tree, string|null $gedcom = null): Individual|null 65 * @param Tree $tree 69 public function mapper(Tree $tree): Closure 81 * @param Tree $tree 85 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Individual 94 * @param Tree $tree 98 protected function gedcom(string $xref, Tree $tree): string|null
|
H A D | FamilyFactory.php | 28 use Fisharebest\Webtrees\Tree; alias 43 * @param Tree $tree 48 public function make(string $xref, Tree $tree, string|null $gedcom = null): Family|null 75 * @param Tree $tree 79 public function mapper(Tree $tree): Closure 91 * @param Tree $tree 95 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Family 104 * @param Tree $tree 108 protected function gedcom(string $xref, Tree $tree): string|null
|
H A D | HeaderFactory.php | 27 use Fisharebest\Webtrees\Tree; alias 41 public function make(string $xref, Tree $tree, string|null $gedcom = null): Header|null 60 * @param Tree $tree 64 public function mapper(Tree $tree): Closure 76 * @param Tree $tree 80 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Header 89 * @param Tree $tree 93 protected function gedcom(string $xref, Tree $tree): string|null
|
H A D | NoteFactory.php | 27 use Fisharebest\Webtrees\Tree; alias 41 public function make(string $xref, Tree $tree, string|null $gedcom = null): Note|null 60 * @param Tree $tree 64 public function mapper(Tree $tree): Closure 76 * @param Tree $tree 80 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Note 89 * @param Tree $tree 93 protected function gedcom(string $xref, Tree $tree): string|null
|
H A D | SubmitterFactory.php | 27 use Fisharebest\Webtrees\Tree; alias 41 public function make(string $xref, Tree $tree, string|null $gedcom = null): Submitter|null 60 * @param Tree $tree 64 public function mapper(Tree $tree): Closure 76 * @param Tree $tree 80 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Submitter 89 * @param Tree $tree 93 protected function gedcom(string $xref, Tree $tree): string|null
|
H A D | SharedNoteFactory.php | 27 use Fisharebest\Webtrees\Tree; alias 41 public function make(string $xref, Tree $tree, string|null $gedcom = null): SharedNote|null 60 * @param Tree $tree 64 public function mapper(Tree $tree): Closure 76 * @param Tree $tree 80 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): SharedNote 89 * @param Tree $tree 93 protected function gedcom(string $xref, Tree $tree): string|null
|
H A D | SubmissionFactory.php | 27 use Fisharebest\Webtrees\Tree; alias 41 public function make(string $xref, Tree $tree, string|null $gedcom = null): Submission|null 60 * @param Tree $tree 64 public function mapper(Tree $tree): Closure 76 * @param Tree $tree 80 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Submission 89 * @param Tree $tree 93 protected function gedcom(string $xref, Tree $tree): string|null
|
H A D | MediaFactory.php | 27 use Fisharebest\Webtrees\Tree; alias 41 public function make(string $xref, Tree $tree, string|null $gedcom = null): Media|null 60 * @param Tree $tree 64 public function mapper(Tree $tree): Closure 76 * @param Tree $tree 80 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Media 89 * @param Tree $tree 93 protected function gedcom(string $xref, Tree $tree): string|null
|
H A D | SourceFactory.php | 27 use Fisharebest\Webtrees\Tree; alias 41 public function make(string $xref, Tree $tree, string|null $gedcom = null): Source|null 60 * @param Tree $tree 64 public function mapper(Tree $tree): Closure 76 * @param Tree $tree 80 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Source 89 * @param Tree $tree 93 protected function gedcom(string $xref, Tree $tree): string|null
|
H A D | LocationFactory.php | 27 use Fisharebest\Webtrees\Tree; alias 41 public function make(string $xref, Tree $tree, string|null $gedcom = null): Location|null 60 * @param Tree $tree 64 public function mapper(Tree $tree): Closure 76 * @param Tree $tree 80 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Location 89 * @param Tree $tree 93 protected function gedcom(string $xref, Tree $tree): string|null
|
H A D | RepositoryFactory.php | 27 use Fisharebest\Webtrees\Tree; alias 42 public function make(string $xref, Tree $tree, string|null $gedcom = null): Repository|null 61 * @param Tree $tree 65 public function mapper(Tree $tree): Closure 82 * @param Tree $tree 86 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Repository 95 * @param Tree $tree 99 protected function gedcom(string $xref, Tree $tree): string|null
|
/webtrees/app/Elements/ |
H A D | AbstractElement.php | 26 use Fisharebest\Webtrees\Tree; alias 132 * @param Tree $tree 136 public function default(Tree $tree): string 147 * @param Tree $tree 151 public function edit(string $id, string $name, string $value, Tree $tree): string 242 * @param Tree $tree 246 public function labelValue(string $value, Tree $tree): string 294 * @param Tree $tree 298 public function value(string $value, Tree $tree): string 354 * @param Tree $tree [all …]
|
/webtrees/app/ |
H A D | Auth.php | 68 * @param Tree $tree 73 public static function isManager(Tree $tree, UserInterface|null $user = null): bool 83 * @param Tree $tree 88 public static function isModerator(Tree $tree, UserInterface|null $user = null): bool 100 * @param Tree $tree 105 public static function isEditor(Tree $tree, UserInterface|null $user = null): bool 117 * @param Tree $tree 122 public static function isMember(Tree $tree, UserInterface|null $user = null): bool 134 * @param Tree $tree 139 public static function accessLevel(Tree $tree, UserInterface|null $user = null): int [all …]
|