/webtrees/app/Factories/ |
H A D | GedcomRecordFactory.php | 54 case Family::RECORD_TYPE: 56 case Header::RECORD_TYPE: 58 case Individual::RECORD_TYPE: 60 case Location::RECORD_TYPE: 62 case Media::RECORD_TYPE: 64 case Note::RECORD_TYPE: 66 case Repository::RECORD_TYPE: 68 case Source::RECORD_TYPE: 70 case Submitter::RECORD_TYPE: 72 case Submission::RECORD_TYPE: [all …]
|
/webtrees/app/Module/ |
H A D | FixSearchAndReplace.php | 102 Family::RECORD_TYPE => I18N::translate('Families'), 103 Individual::RECORD_TYPE => I18N::translate('Individuals'), 104 Location::RECORD_TYPE => I18N::translate('Locations'), 105 Media::RECORD_TYPE => I18N::translate('Media objects'), 106 Note::RECORD_TYPE => I18N::translate('Notes'), 107 Repository::RECORD_TYPE => I18N::translate('Repositories'), 108 Source::RECORD_TYPE => I18N::translate('Sources'), 109 Submitter::RECORD_TYPE => I18N::translate('Submitters'), 116 'default_type' => Individual::RECORD_TYPE, 133 if ($params['type'] !== Family::RECORD_TYPE || $params['search-for'] === '') { [all …]
|
H A D | SiteMapModule.php | 64 Family::RECORD_TYPE => 0.7, 65 Individual::RECORD_TYPE => 0.9, 66 Media::RECORD_TYPE => 0.5, 67 Note::RECORD_TYPE => 0.3, 68 Repository::RECORD_TYPE => 0.5, 69 Source::RECORD_TYPE => 0.5, 70 Submitter::RECORD_TYPE => 0.3, 220 ->where('o_type', '=', Note::RECORD_TYPE) 227 ->where('o_type', '=', Repository::RECORD_TYPE) 240 ->where('o_type', '=', Submitter::RECORD_TYPE) [all …]
|
H A D | ModuleDataFixTrait.php | 76 … $records = $records->concat($this->mergePendingRecords($families, $tree, Family::RECORD_TYPE)); 80 …cords = $records->concat($this->mergePendingRecords($individuals, $tree, Individual::RECORD_TYPE)); 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 …ords = $records->concat($this->mergePendingRecords($repositories, $tree, Repository::RECORD_TYPE)); 100 … $records = $records->concat($this->mergePendingRecords($sources, $tree, Source::RECORD_TYPE)); 104 …records = $records->concat($this->mergePendingRecords($submitters, $tree, Submitter::RECORD_TYPE)); 234 ->where('o_type', '=', Location::RECORD_TYPE) 297 ->where('o_type', '=', Note::RECORD_TYPE) [all …]
|
H A D | PlaceHierarchyListModule.php | 284 Family::RECORD_TYPE => $this->familyPlaceLinks($child)->count(), 285 Individual::RECORD_TYPE => $this->individualPlaceLinks($child)->count(), 286 Location::RECORD_TYPE => $this->locationPlaceLinks($child)->count(), 442 ->where('o_type', '=', Location::RECORD_TYPE);
|
/webtrees/app/Http/RequestHandlers/ |
H A D | CheckTree.php | 230 … } elseif ($element instanceof XrefFamily && $linked->type !== Family::RECORD_TYPE) { 231 … $message = $this->linkErrorMessage($tree, $xref1, $linked->type, Family::RECORD_TYPE); 233 … } elseif ($element instanceof XrefIndividual && $linked->type !== Individual::RECORD_TYPE) { 234 … $message = $this->linkErrorMessage($tree, $xref1, $linked->type, Individual::RECORD_TYPE); 236 … } elseif ($element instanceof XrefMedia && $linked->type !== Media::RECORD_TYPE) { 237 … $message = $this->linkErrorMessage($tree, $xref1, $linked->type, Media::RECORD_TYPE); 239 … } elseif ($element instanceof XrefNote && $linked->type !== Note::RECORD_TYPE) { 240 … $message = $this->linkErrorMessage($tree, $xref1, $linked->type, Note::RECORD_TYPE); 242 … } elseif ($element instanceof XrefSource && $linked->type !== Source::RECORD_TYPE) { 243 … $message = $this->linkErrorMessage($tree, $xref1, $linked->type, Source::RECORD_TYPE); [all …]
|
H A D | TreePrivacyPage.php | 121 … foreach (['', Family::RECORD_TYPE . ':', Individual::RECORD_TYPE . ':'] as $prefix) { 150 foreach ([Family::RECORD_TYPE, Individual::RECORD_TYPE] as $record_type) {
|
H A D | RenumberTreeAction.php | 77 case Individual::RECORD_TYPE: 157 case Family::RECORD_TYPE: 197 case Source::RECORD_TYPE: 259 case Repository::RECORD_TYPE: 283 case Note::RECORD_TYPE: 359 case Media::RECORD_TYPE:
|
H A D | SearchGeneralPage.php | 95 ->where('o_type', '=', Note::RECORD_TYPE) 100 ->where('o_type', '=', Location::RECORD_TYPE) 105 ->where('o_type', '=', Repository::RECORD_TYPE)
|
/webtrees/resources/views/icons/ |
H A D | record.phtml | 19 if ($record->tag() === Individual::RECORD_TYPE) : ?> 21 <?php elseif ($record->tag() === Family::RECORD_TYPE) : ?> 23 <?php elseif ($record->tag() === Source::RECORD_TYPE) : ?> 25 <?php elseif ($record->tag() === Repository::RECORD_TYPE) : ?> 27 <?php elseif ($record->tag() === Note::RECORD_TYPE) : ?> 29 <?php elseif ($record->tag() === Media::RECORD_TYPE) : ?> 31 <?php elseif ($record->tag() === Submitter::RECORD_TYPE) : ?> 33 <?php elseif ($record->tag() === Location::RECORD_TYPE) : ?>
|
/webtrees/resources/views/modules/recent_changes/ |
H A D | changes-table.phtml | 60 <?php if ($row->record->tag() === Individual::RECORD_TYPE) : ?> 63 <?php elseif ($row->record->tag() === Family::RECORD_TYPE) : ?> 66 <?php elseif ($row->record->tag() === Media::RECORD_TYPE) : ?> 69 <?php elseif ($row->record->tag() === Note::RECORD_TYPE) : ?> 72 <?php elseif ($row->record->tag() === Source::RECORD_TYPE) : ?> 75 <?php elseif ($row->record->tag() === Submitter::RECORD_TYPE) : ?> 78 <?php elseif ($row->record->tag() === Repository::RECORD_TYPE) : ?> 81 <?php elseif ($row->record->tag() === Location::RECORD_TYPE) : ?>
|
/webtrees/app/Services/ |
H A D | GedcomImportService.php | 310 case Individual::RECORD_TYPE: 337 case Family::RECORD_TYPE: 367 case Source::RECORD_TYPE: 384 case Repository::RECORD_TYPE: 385 case Note::RECORD_TYPE: 386 case Submission::RECORD_TYPE: 387 case Submitter::RECORD_TYPE: 388 case Location::RECORD_TYPE: 397 case Header::RECORD_TYPE: 407 'o_type' => Header::RECORD_TYPE, [all …]
|
H A D | PendingChangesService.php | 104 Individual::RECORD_TYPE => Registry::individualFactory(), 105 Family::RECORD_TYPE => Registry::familyFactory(), 106 Source::RECORD_TYPE => Registry::sourceFactory(), 107 Repository::RECORD_TYPE => Registry::repositoryFactory(), 108 Media::RECORD_TYPE => Registry::mediaFactory(), 109 Note::RECORD_TYPE => Registry::noteFactory(), 110 Submitter::RECORD_TYPE => Registry::submitterFactory(), 111 Submission::RECORD_TYPE => Registry::submissionFactory(), 112 Location::RECORD_TYPE => Registry::locationFactory(), 113 Header::RECORD_TYPE => Registry::headerFactory(),
|
H A D | DataFixService.php | 52 case Family::RECORD_TYPE: 55 case Individual::RECORD_TYPE: 58 case Note::RECORD_TYPE: 61 case Media::RECORD_TYPE: 64 case Repository::RECORD_TYPE: 67 case Source::RECORD_TYPE: 70 case Submitter::RECORD_TYPE:
|
H A D | LinkedRecordService.php | 158 ->where('o_type', '=', Location::RECORD_TYPE) 207 ->where('o_type', '=', Note::RECORD_TYPE) 232 ->where('o_type', '=', Repository::RECORD_TYPE) 281 ->where('o_type', '=', Submitter::RECORD_TYPE)
|
H A D | AdminService.php | 79 ->whereNotIn('o_type', [Header::RECORD_TYPE, 'TRLR']) 99 ->whereNotIn('o_type', [Header::RECORD_TYPE, 'TRLR']) 209 ->whereNotIn('o_type', [Header::RECORD_TYPE, 'TRLR']) 229 ->whereNotIn('o_type', [Header::RECORD_TYPE, 'TRLR'])
|
H A D | SearchService.php | 248 ->where('o_type', '=', Location::RECORD_TYPE); 289 ->where('o_type', '=', Note::RECORD_TYPE); 310 ->where('o_type', '=', SharedNote::RECORD_TYPE); 331 ->where('o_type', '=', Repository::RECORD_TYPE); 418 ->where('o_type', '=', Submission::RECORD_TYPE); 439 ->where('o_type', '=', Submitter::RECORD_TYPE);
|
/webtrees/resources/views/modules/sitemap/ |
H A D | sitemap-index-xml.phtml | 36 …<?= e(route('sitemap-file', ['tree' => $tree_name, 'type' => Family::RECORD_TYPE, 'page' => $i])) … 49 …= e(route('sitemap-file', ['tree' => $tree_name, 'type' => Individual::RECORD_TYPE, 'page' => $i])… 62 …<?= e(route('sitemap-file', ['tree' => $tree_name, 'type' => Media::RECORD_TYPE, 'page' => $i])) ?> 75 … <?= e(route('sitemap-file', ['tree' => $tree_name, 'type' => Note::RECORD_TYPE, 'page' => $i])) ?> 88 …= e(route('sitemap-file', ['tree' => $tree_name, 'type' => Repository::RECORD_TYPE, 'page' => $i])… 101 …<?= e(route('sitemap-file', ['tree' => $tree_name, 'type' => Source::RECORD_TYPE, 'page' => $i])) … 114 …<?= e(route('sitemap-file', ['tree' => $tree_name, 'type' => Submitter::RECORD_TYPE, 'page' => $i]…
|
/webtrees/app/ |
H A D | GedcomRecord.php | 69 public const RECORD_TYPE = 'UNKNOWN'; define in Fisharebest\\Webtrees\\GedcomRecord 168 return $match[1] ?? static::RECORD_TYPE; 345 $this->addName(static::RECORD_TYPE, $this->getFallBackName(), ''); 361 $this->addName(static::RECORD_TYPE, $this->getFallBackName(), ''); 364 $this->addName(static::RECORD_TYPE, I18N::translate('Private'), ''); 638 case Family::RECORD_TYPE: 639 case Individual::RECORD_TYPE: 791 … $update_chan = $update_chan && in_array(static::RECORD_TYPE, Gedcom::RECORDS_WITH_CHAN, true); 872 … $update_chan = $update_chan && in_array(static::RECORD_TYPE, Gedcom::RECORDS_WITH_CHAN, true); 911 Log::addEditLog('Update: ' . static::RECORD_TYPE . ' ' . $this->xref, $this->tree); [all …]
|
H A D | Note.php | 39 public const RECORD_TYPE = 'NOTE'; define in Fisharebest\\Webtrees\\Note 50 …if (preg_match('/^0 @' . Gedcom::REGEX_XREF . '@ ' . static::RECORD_TYPE . ' ?(.*(?:\n1 CONT ?.*)*… 100 …$this->addName(static::RECORD_TYPE, Str::limit($first_line, 100, I18N::translate('…')), $this->ged…
|
H A D | Submission.php | 31 public const RECORD_TYPE = 'SUBN'; define in Fisharebest\\Webtrees\\Submission 43 'type' => static::RECORD_TYPE,
|
H A D | Header.php | 29 public const RECORD_TYPE = 'HEAD'; define in Fisharebest\\Webtrees\\Header 41 'type' => static::RECORD_TYPE,
|
/webtrees/resources/views/modules/place-hierarchy/ |
H A D | sidebar.phtml | 47 … <div class="col-sm-3 align-digits"><?= I18N::number($stats[Individual::RECORD_TYPE]) ?></div> 50 <?php if ($stats[Family::RECORD_TYPE] > 0) : ?> 53 … <div class="col-sm-3 align-digits"><?= I18N::number($stats[Family::RECORD_TYPE]) ?></div> 57 <?php if ($stats[Location::RECORD_TYPE] > 0) : ?> 60 … <div class="col-sm-3 align-digits"><?= I18N::number($stats[Location::RECORD_TYPE]) ?></div>
|
/webtrees/app/Statistics/Repository/ |
H A D | EventRepository.php | 226 ->where('d_gid', '<>', Header::RECORD_TYPE) 337 foreach ([Individual::RECORD_TYPE, Family::RECORD_TYPE] as $record_type) {
|
/webtrees/app/Elements/ |
H A D | EventTypeCitedFrom.php | 107 Family::RECORD_TYPE => static::FAMILY_EVENTS, 108 … Individual::RECORD_TYPE => array_merge(static::INDIVIDUAL_EVENTS, static::ATTRIBUTE_TYPES),
|