xref: /webtrees/app/Elements/IndividualRecord.php (revision 41e6f4387985518bcd8e05cc8538c3fe8a886ad0)
1e7e5b015SGreg Roach<?php
2e7e5b015SGreg Roach
3e7e5b015SGreg Roach/**
4e7e5b015SGreg Roach * webtrees: online genealogy
55bfc6897SGreg Roach * Copyright (C) 2022 webtrees development team
6e7e5b015SGreg Roach * This program is free software: you can redistribute it and/or modify
7e7e5b015SGreg Roach * it under the terms of the GNU General Public License as published by
8e7e5b015SGreg Roach * the Free Software Foundation, either version 3 of the License, or
9e7e5b015SGreg Roach * (at your option) any later version.
10e7e5b015SGreg Roach * This program is distributed in the hope that it will be useful,
11e7e5b015SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
12e7e5b015SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13e7e5b015SGreg Roach * GNU General Public License for more details.
14e7e5b015SGreg Roach * You should have received a copy of the GNU General Public License
15e7e5b015SGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>.
16e7e5b015SGreg Roach */
17e7e5b015SGreg Roach
18e7e5b015SGreg Roachdeclare(strict_types=1);
19e7e5b015SGreg Roach
20e7e5b015SGreg Roachnamespace Fisharebest\Webtrees\Elements;
21e7e5b015SGreg Roach
22e7e5b015SGreg Roach/**
23e7e5b015SGreg Roach * A level 0 individual record
24e7e5b015SGreg Roach */
25e7e5b015SGreg Roachclass IndividualRecord extends AbstractElement
26e7e5b015SGreg Roach{
27e7e5b015SGreg Roach    protected const SUBTAGS = [
289c7bc1e3SGreg Roach        'ADOP' => '0:M',
299c7bc1e3SGreg Roach        'AFN'  => '0:1',
309c7bc1e3SGreg Roach        'ALIA' => '0:M',
319c7bc1e3SGreg Roach        'ANCI' => '0:M',
329c7bc1e3SGreg Roach        'ASSO' => '0:M',
339c7bc1e3SGreg Roach        'BAPL' => '0:M',
349c7bc1e3SGreg Roach        'BAPM' => '0:M',
359c7bc1e3SGreg Roach        'BARM' => '0:M',
369c7bc1e3SGreg Roach        'BASM' => '0:M',
379c7bc1e3SGreg Roach        'BIRT' => '0:M',
389c7bc1e3SGreg Roach        'BLES' => '0:M',
399c7bc1e3SGreg Roach        'BURI' => '0:M',
409c7bc1e3SGreg Roach        'CAST' => '0:M',
419c7bc1e3SGreg Roach        'CENS' => '0:M',
42afc27317SGreg Roach        'CHAN' => '0:1',
439c7bc1e3SGreg Roach        'CHR'  => '0:M',
449c7bc1e3SGreg Roach        'CHRA' => '0:M',
459c7bc1e3SGreg Roach        'CONF' => '0:M',
469c7bc1e3SGreg Roach        'CONL' => '0:M',
479c7bc1e3SGreg Roach        'CREM' => '0:M',
489c7bc1e3SGreg Roach        'DEAT' => '0:M',
499c7bc1e3SGreg Roach        'DESI' => '0:M',
509c7bc1e3SGreg Roach        'DSCR' => '0:M',
519c7bc1e3SGreg Roach        'EDUC' => '0:M',
529c7bc1e3SGreg Roach        'EMIG' => '0:M',
539c7bc1e3SGreg Roach        'ENDL' => '0:M',
549c7bc1e3SGreg Roach        'EVEN' => '0:M',
559c7bc1e3SGreg Roach        'FACT' => '0:M',
569c7bc1e3SGreg Roach        'FAMC' => '0:M',
579c7bc1e3SGreg Roach        'FAMS' => '0:M',
589c7bc1e3SGreg Roach        'FCOM' => '0:M',
599c7bc1e3SGreg Roach        'GRAD' => '0:M',
609c7bc1e3SGreg Roach        'IDNO' => '0:M',
619c7bc1e3SGreg Roach        'IMMI' => '0:M',
629c7bc1e3SGreg Roach        'NAME' => '0:M',
63*41e6f438SungeAhnt        'NATI' => '0:M',
649c7bc1e3SGreg Roach        'NATU' => '0:M',
659c7bc1e3SGreg Roach        'NCHI' => '0:M',
669c7bc1e3SGreg Roach        'NMR'  => '0:M',
679c7bc1e3SGreg Roach        'NOTE' => '0:M',
689c7bc1e3SGreg Roach        'OBJE' => '0:M',
699c7bc1e3SGreg Roach        'OCCU' => '0:M',
709c7bc1e3SGreg Roach        'ORDN' => '0:M',
719c7bc1e3SGreg Roach        'PROB' => '0:M',
729c7bc1e3SGreg Roach        'PROP' => '0:M',
739c7bc1e3SGreg Roach        'REFN' => '0:M',
749c7bc1e3SGreg Roach        'RELI' => '0:M',
759c7bc1e3SGreg Roach        'RESI' => '0:M',
769c7bc1e3SGreg Roach        'RESN' => '0:1',
779c7bc1e3SGreg Roach        'RETI' => '0:M',
789c7bc1e3SGreg Roach        'RFN'  => '0:1',
799c7bc1e3SGreg Roach        'RIN'  => '0:1',
809c7bc1e3SGreg Roach        'SEX'  => '0:1',
819c7bc1e3SGreg Roach        'SLGC' => '0:M',
829c7bc1e3SGreg Roach        'SOUR' => '0:M',
839c7bc1e3SGreg Roach        'SSN'  => '0:M',
849c7bc1e3SGreg Roach        'SUBM' => '0:M',
859c7bc1e3SGreg Roach        'TITL' => '0:M',
869c7bc1e3SGreg Roach        'WILL' => '0:M',
87e7e5b015SGreg Roach    ];
88e7e5b015SGreg Roach}
89