xref: /webtrees/app/Elements/CustomIndividualEvent.php (revision 4c93bfa739a7a672971edcea0e84f46fa3156801)
1*4c93bfa7SGreg Roach<?php
2*4c93bfa7SGreg Roach
3*4c93bfa7SGreg Roach/**
4*4c93bfa7SGreg Roach * webtrees: online genealogy
5*4c93bfa7SGreg Roach * Copyright (C) 2021 webtrees development team
6*4c93bfa7SGreg Roach * This program is free software: you can redistribute it and/or modify
7*4c93bfa7SGreg Roach * it under the terms of the GNU General Public License as published by
8*4c93bfa7SGreg Roach * the Free Software Foundation, either version 3 of the License, or
9*4c93bfa7SGreg Roach * (at your option) any later version.
10*4c93bfa7SGreg Roach * This program is distributed in the hope that it will be useful,
11*4c93bfa7SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
12*4c93bfa7SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13*4c93bfa7SGreg Roach * GNU General Public License for more details.
14*4c93bfa7SGreg Roach * You should have received a copy of the GNU General Public License
15*4c93bfa7SGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>.
16*4c93bfa7SGreg Roach */
17*4c93bfa7SGreg Roach
18*4c93bfa7SGreg Roachdeclare(strict_types=1);
19*4c93bfa7SGreg Roach
20*4c93bfa7SGreg Roachnamespace Fisharebest\Webtrees\Elements;
21*4c93bfa7SGreg Roach
22*4c93bfa7SGreg Roach/**
23*4c93bfa7SGreg Roach * CustomIndividualEvent
24*4c93bfa7SGreg Roach */
25*4c93bfa7SGreg Roachclass CustomIndividualEvent extends CustomEvent
26*4c93bfa7SGreg Roach{
27*4c93bfa7SGreg Roach    protected const SUBTAGS = [
28*4c93bfa7SGreg Roach        'TYPE' => '0:1',
29*4c93bfa7SGreg Roach        'DATE' => '0:1',
30*4c93bfa7SGreg Roach        'AGE'  => '0:1',
31*4c93bfa7SGreg Roach        'PLAC' => '0:1',
32*4c93bfa7SGreg Roach        'ADDR' => '0:1',
33*4c93bfa7SGreg Roach        'AGNC' => '0:1',
34*4c93bfa7SGreg Roach        'CAUS' => '0:1',
35*4c93bfa7SGreg Roach        'RELI' => '0:1',
36*4c93bfa7SGreg Roach        'NOTE' => '0:M',
37*4c93bfa7SGreg Roach        'OBJE' => '0:M',
38*4c93bfa7SGreg Roach        'SOUR' => '0:M',
39*4c93bfa7SGreg Roach        'RESN' => '0:1',
40*4c93bfa7SGreg Roach    ];
41*4c93bfa7SGreg Roach}
42