Home
last modified time | relevance | path

Searched refs:GedcomRecord (Results 1 – 25 of 176) sorted by relevance

12345678

/webtrees/app/Services/
H A DLinkedRecordService.php24 use Fisharebest\Webtrees\GedcomRecord; alias
48 * @param GedcomRecord $record
52 public function allLinkedRecords(GedcomRecord $record): Collection
83 * @param GedcomRecord $record
88 public function linkedFamilies(GedcomRecord $record, string|null $link_type = null): Collection
108 ->filter(GedcomRecord::accessFilter());
114 * @param GedcomRecord $record
119 … public function linkedIndividuals(GedcomRecord $record, string|null $link_type = null): Collection
139 ->filter(GedcomRecord::accessFilter());
145 * @param GedcomRecord $record
[all …]
H A DSearchService.php27 use Fisharebest\Webtrees\GedcomRecord; alias
99 ->filter(GedcomRecord::accessFilter())
140 …return $this->paginateQuery($query, $this->familyRowMapper(), GedcomRecord::accessFilter(), $offse…
162 ->filter(GedcomRecord::accessFilter());
182 ->filter(GedcomRecord::accessFilter())
210 …return $this->paginateQuery($query, $this->individualRowMapper(), GedcomRecord::accessFilter(), $o…
232 ->filter(GedcomRecord::accessFilter());
253 …return $this->paginateQuery($query, $this->locationRowMapper(), GedcomRecord::accessFilter(), $off…
273 …return $this->paginateQuery($query, $this->mediaRowMapper(), GedcomRecord::accessFilter(), $offset…
294 …return $this->paginateQuery($query, $this->noteRowMapper(), GedcomRecord::accessFilter(), $offset,…
[all …]
H A DClipboardService.php23 use Fisharebest\Webtrees\GedcomRecord; alias
66 * @param GedcomRecord $record
70 public function pasteFact(string $fact_id, GedcomRecord $record): bool
98 * @param GedcomRecord $record
102 public function pastableFacts(GedcomRecord $record): Collection
116 * @param GedcomRecord $record
121 public function pastableFactsOfType(GedcomRecord $record, Collection $types): Collection
H A DPendingChangesService.php31 use Fisharebest\Webtrees\GedcomRecord; alias
171 * @param GedcomRecord $record
173 public function acceptRecord(GedcomRecord $record): void
201 * @param GedcomRecord $record
204 public function acceptChange(GedcomRecord $record, string $change_id): void
245 * @param GedcomRecord $record
248 public function rejectChange(GedcomRecord $record, string $change_id): void
261 * @param GedcomRecord $record
263 public function rejectRecord(GedcomRecord $record): void
/webtrees/app/Module/
H A DFixNameSlashesAndSpaces.php22 use Fisharebest\Webtrees\GedcomRecord; alias
84 * @param GedcomRecord $record
89 public function doesRecordNeedUpdate(GedcomRecord $record, array $params): bool
101 * @param GedcomRecord $record
106 public function previewUpdate(GedcomRecord $record, array $params): string
117 * @param GedcomRecord $record
122 public function updateRecord(GedcomRecord $record, array $params): void
128 * @param GedcomRecord $record
132 private function updateGedcom(GedcomRecord $record): string
H A DFixMissingDeaths.php23 use Fisharebest\Webtrees\GedcomRecord; alias
87 * @param GedcomRecord $record
92 public function doesRecordNeedUpdate(GedcomRecord $record, array $params): bool
103 * @param GedcomRecord $record
108 public function previewUpdate(GedcomRecord $record, array $params): string
119 * @param GedcomRecord $record
124 public function updateRecord(GedcomRecord $record, array $params): void
130 * @param GedcomRecord $record
134 private function updateGedcom(GedcomRecord $record): string
H A DFixPlaceNames.php22 use Fisharebest\Webtrees\GedcomRecord; alias
128 * @param GedcomRecord $record
133 public function doesRecordNeedUpdate(GedcomRecord $record, array $params): bool
144 * @param GedcomRecord $record
149 public function previewUpdate(GedcomRecord $record, array $params): string
160 * @param GedcomRecord $record
165 public function updateRecord(GedcomRecord $record, array $params): void
171 * @param GedcomRecord $record
176 private function updateGedcom(GedcomRecord $record, array $params): string
H A DFixDuplicateLinks.php22 use Fisharebest\Webtrees\GedcomRecord; alias
180 * @param GedcomRecord $record
185 public function doesRecordNeedUpdate(GedcomRecord $record, array $params): bool
198 * @param GedcomRecord $record
203 public function previewUpdate(GedcomRecord $record, array $params): string
214 * @param GedcomRecord $record
219 public function updateRecord(GedcomRecord $record, array $params): void
225 * @param GedcomRecord $record
229 private function updateGedcom(GedcomRecord $record): string
H A DFixWtObjeSortTag.php23 use Fisharebest\Webtrees\GedcomRecord; alias
91 * @param GedcomRecord $record
96 public function doesRecordNeedUpdate(GedcomRecord $record, array $params): bool
104 * @param GedcomRecord $record
109 public function previewUpdate(GedcomRecord $record, array $params): string
120 * @param GedcomRecord $record
125 public function updateRecord(GedcomRecord $record, array $params): void
131 * @param GedcomRecord $record
135 private function reorderMediaLinks(GedcomRecord $record): string
H A DModuleDataFixInterface.php22 use Fisharebest\Webtrees\GedcomRecord; alias
53 * @param GedcomRecord $record
58 public function doesRecordNeedUpdate(GedcomRecord $record, array $params): bool;
63 * @param GedcomRecord $record
68 public function previewUpdate(GedcomRecord $record, array $params): string;
73 * @param GedcomRecord $record
78 public function updateRecord(GedcomRecord $record, array $params): void;
H A DFixSearchAndReplace.php24 use Fisharebest\Webtrees\GedcomRecord; alias
308 * @param GedcomRecord $record
313 public function doesRecordNeedUpdate(GedcomRecord $record, array $params): bool
321 * @param GedcomRecord $record
326 public function previewUpdate(GedcomRecord $record, array $params): string
337 * @param GedcomRecord $record
342 public function updateRecord(GedcomRecord $record, array $params): void
348 * @param GedcomRecord $record
353 private function updateGedcom(GedcomRecord $record, array $params): string
H A DFixCemeteryTag.php23 use Fisharebest\Webtrees\GedcomRecord; alias
112 * @param GedcomRecord $record
117 public function doesRecordNeedUpdate(GedcomRecord $record, array $params): bool
127 * @param GedcomRecord $record
132 public function previewUpdate(GedcomRecord $record, array $params): string
151 * @param GedcomRecord $record
156 public function updateRecord(GedcomRecord $record, array $params): void
H A DFixNameTags.php24 use Fisharebest\Webtrees\GedcomRecord; alias
113 * @param GedcomRecord $record
118 public function doesRecordNeedUpdate(GedcomRecord $record, array $params): bool
128 * @param GedcomRecord $record
133 public function previewUpdate(GedcomRecord $record, array $params): string
152 * @param GedcomRecord $record
157 public function updateRecord(GedcomRecord $record, array $params): void
H A DFixPrimaryTag.php23 use Fisharebest\Webtrees\GedcomRecord; alias
87 * @param GedcomRecord $record
92 public function doesRecordNeedUpdate(GedcomRecord $record, array $params): bool
100 * @param GedcomRecord $record
105 public function previewUpdate(GedcomRecord $record, array $params): string
124 * @param GedcomRecord $record
129 public function updateRecord(GedcomRecord $record, array $params): void
H A DModuleDataFixTrait.php24 use Fisharebest\Webtrees\GedcomRecord; alias
115 * @param GedcomRecord $record
120 public function doesRecordNeedUpdate(GedcomRecord $record, array $params): bool
128 * @param GedcomRecord $record
133 public function previewUpdate(GedcomRecord $record, array $params): string
141 * @param GedcomRecord $record
146 public function updateRecord(GedcomRecord $record, array $params): void
H A DFamilyTreeFavoritesModule.php24 use Fisharebest\Webtrees\GedcomRecord; alias
139 if ($row->record instanceof GedcomRecord && !$row->record->canShowName()) {
173 if ($record instanceof GedcomRecord && $record->canShow()) {
229 * @param GedcomRecord $record
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 DUserFavoritesModule.php25 use Fisharebest\Webtrees\GedcomRecord; alias
141 if ($row->record instanceof GedcomRecord && !$row->record->canShowName()) {
175 if ($record instanceof GedcomRecord && $record->canShow()) {
233 * @param GedcomRecord $record
238 …private function addRecordFavorite(Tree $tree, UserInterface $user, GedcomRecord $record, string $…
250 private function getRecordForType(string $type, string $xref, Tree $tree): GedcomRecord|null
H A DClippingsCartModule.php30 use Fisharebest\Webtrees\GedcomRecord; alias
264 if ($object instanceof GedcomRecord && $object->canShow($access_level)) {
356 …$records = array_map(static fn (string $xref): GedcomRecord|null => Registry::gedcomRecordFactory(…
362 …uasort($records, static fn (GedcomRecord $x, GedcomRecord $y): int => $x->tag() <=> $y->tag() ?: G…
830 protected function addLocationLinksToCart(GedcomRecord $record): void
860 protected function addMediaLinksToCart(GedcomRecord $record): void
888 protected function addNoteLinksToCart(GedcomRecord $record): void
919 protected function addSourceLinksToCart(GedcomRecord $record): void
949 protected function addRepositoryLinksToCart(GedcomRecord $record): void
978 protected function addSubmitterLinksToCart(GedcomRecord $record): void
/webtrees/app/CommonMark/
H A DXrefNode.php22 use Fisharebest\Webtrees\GedcomRecord; alias
30 private GedcomRecord $record;
33 * @param GedcomRecord $record
35 public function __construct(GedcomRecord $record)
43 * @return GedcomRecord
45 public function record(): GedcomRecord
/webtrees/app/Factories/
H A DGedcomRecordFactory.php27 use Fisharebest\Webtrees\GedcomRecord; alias
49 public function make(string $xref, Tree $tree, string|null $gedcom = null): GedcomRecord|null
114 * @return GedcomRecord
116 … public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): GedcomRecord
118 return new GedcomRecord($xref, $gedcom, $pending, $tree);
130 return fn (object $row): GedcomRecord => $this->make($row->o_id, $tree, $row->o_gedcom);
140 * @return GedcomRecord
142 …mRecord(string $type, string $xref, string $gedcom, string|null $pending, Tree $tree): GedcomRecord
/webtrees/resources/views/admin/
H A Dmerge-records-step-2.phtml6 use Fisharebest\Webtrees\GedcomRecord; alias
18 * @var GedcomRecord $record1
19 * @var GedcomRecord $record2
63 <?php if ($fact->target() instanceof GedcomRecord) : ?>
110 <?php if ($fact->target() instanceof GedcomRecord) : ?>
156 <?php if ($fact->target() instanceof GedcomRecord) : ?>
/webtrees/app/
H A DFact.php150 private GedcomRecord $record;
179 * @param GedcomRecord $parent
184 public function __construct(string $gedcom, GedcomRecord $parent, string $id)
216 …* @return Family|GedcomRecord|Individual|Location|Media|Note|Repository|Source|Submission|Submitte…
337 if ($target instanceof GedcomRecord && $target->tag() === $this->tag) {
434 * @return GedcomRecord
436 public function record(): GedcomRecord
534 if ($target instanceof GedcomRecord) {
581 if ($target instanceof GedcomRecord) {
H A DGedcomRecord.php67 class GedcomRecord class
116 * @return Closure(GedcomRecord):bool
120 return static fn (GedcomRecord $record): bool => $record->canShow();
126 * @return Closure(GedcomRecord,GedcomRecord):int
130 return static function (GedcomRecord $x, GedcomRecord $y): int {
152 * @return Closure(GedcomRecord,GedcomRecord):int
156 …return static fn (GedcomRecord $x, GedcomRecord $y): int => $direction * ($x->lastChangeTimestamp(…
/webtrees/app/Contracts/
H A DGedcomRecordFactoryInterface.php23 use Fisharebest\Webtrees\GedcomRecord; alias
34 public function make(string $xref, Tree $tree, string|null $gedcom = null): GedcomRecord|null;
45 * @return GedcomRecord
47 … public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): GedcomRecord;
/webtrees/app/Http/RequestHandlers/
H A DDataFixUpdateAll.php22 use Fisharebest\Webtrees\GedcomRecord; alias
92 …->map(fn (object $row): GedcomRecord|null => $this->data_fix_service->getRecordByType($row->xref, …
93 …->filter(static fn (GedcomRecord|null $record): bool => $record instanceof GedcomRecord && !$recor…

12345678