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