1<?php 2 3/** 4 * webtrees: online genealogy 5 * Copyright (C) 2023 webtrees development team 6 * This program is free software: you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation, either version 3 of the License, or 9 * (at your option) any later version. 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * You should have received a copy of the GNU General Public License 15 * along with this program. If not, see <https://www.gnu.org/licenses/>. 16 */ 17 18declare(strict_types=1); 19 20namespace Fisharebest\Webtrees\Elements; 21 22/** 23 * A level 0 individual record 24 */ 25class IndividualRecord extends AbstractElement 26{ 27 protected const array SUBTAGS = [ 28 'ADOP' => '0:M', 29 'AFN' => '0:1', 30 'ALIA' => '0:M', 31 'ANCI' => '0:M', 32 'ASSO' => '0:M', 33 'BAPL' => '0:M', 34 'BAPM' => '0:M', 35 'BARM' => '0:M', 36 'BASM' => '0:M', 37 'BIRT' => '0:M', 38 'BLES' => '0:M', 39 'BURI' => '0:M', 40 'CAST' => '0:M', 41 'CENS' => '0:M', 42 'CHAN' => '0:1', 43 'CHR' => '0:M', 44 'CHRA' => '0:M', 45 'CONF' => '0:M', 46 'CONL' => '0:M', 47 'CREM' => '0:M', 48 'DEAT' => '0:M', 49 'DESI' => '0:M', 50 'DSCR' => '0:M', 51 'EDUC' => '0:M', 52 'EMIG' => '0:M', 53 'ENDL' => '0:M', 54 'EVEN' => '0:M', 55 'FACT' => '0:M', 56 'FAMC' => '0:M', 57 'FAMS' => '0:M', 58 'FCOM' => '0:M', 59 'GRAD' => '0:M', 60 'IDNO' => '0:M', 61 'IMMI' => '0:M', 62 'NAME' => '0:M', 63 'NATI' => '0:M', 64 'NATU' => '0:M', 65 'NCHI' => '0:M', 66 'NMR' => '0:M', 67 'NOTE' => '0:M', 68 'OBJE' => '0:M', 69 'OCCU' => '0:M', 70 'ORDN' => '0:M', 71 'PROB' => '0:M', 72 'PROP' => '0:M', 73 'REFN' => '0:M', 74 'RELI' => '0:M', 75 'RESI' => '0:M', 76 'RESN' => '0:1', 77 'RETI' => '0:M', 78 'RFN' => '0:1', 79 'RIN' => '0:1', 80 'SEX' => '0:1', 81 'SLGC' => '0:M', 82 'SOUR' => '0:M', 83 'SSN' => '0:M', 84 'SUBM' => '0:M', 85 'TITL' => '0:M', 86 'WILL' => '0:M', 87 ]; 88} 89