xref: /webtrees/app/Elements/CustomFamilyEvent.php (revision d11be7027e34e3121be11cc025421873364403f9)
14c93bfa7SGreg Roach<?php
24c93bfa7SGreg Roach
34c93bfa7SGreg Roach/**
44c93bfa7SGreg Roach * webtrees: online genealogy
5*d11be702SGreg Roach * Copyright (C) 2023 webtrees development team
64c93bfa7SGreg Roach * This program is free software: you can redistribute it and/or modify
74c93bfa7SGreg Roach * it under the terms of the GNU General Public License as published by
84c93bfa7SGreg Roach * the Free Software Foundation, either version 3 of the License, or
94c93bfa7SGreg Roach * (at your option) any later version.
104c93bfa7SGreg Roach * This program is distributed in the hope that it will be useful,
114c93bfa7SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
124c93bfa7SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
134c93bfa7SGreg Roach * GNU General Public License for more details.
144c93bfa7SGreg Roach * You should have received a copy of the GNU General Public License
154c93bfa7SGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>.
164c93bfa7SGreg Roach */
174c93bfa7SGreg Roach
184c93bfa7SGreg Roachdeclare(strict_types=1);
194c93bfa7SGreg Roach
204c93bfa7SGreg Roachnamespace Fisharebest\Webtrees\Elements;
214c93bfa7SGreg Roach
224c93bfa7SGreg Roach/**
234c93bfa7SGreg Roach * CustomFamilyEvent
244c93bfa7SGreg Roach */
254c93bfa7SGreg Roachclass CustomFamilyEvent extends CustomEvent
264c93bfa7SGreg Roach{
274c93bfa7SGreg Roach    protected const SUBTAGS = [
284c93bfa7SGreg Roach        'TYPE'  => '0:1',
294c93bfa7SGreg Roach        'DATE'  => '0:1',
304c93bfa7SGreg Roach        'HUSB'  => '0:1',
314c93bfa7SGreg Roach        'WIFE'  => '0:1',
324c93bfa7SGreg Roach        'PLAC'  => '0:1',
334c93bfa7SGreg Roach        'ADDR'  => '0:1',
3456dc7727SGreg Roach        'EMAIL' => '0:1:?',
3556dc7727SGreg Roach        'WWW'   => '0:1:?',
3656dc7727SGreg Roach        'PHON'  => '0:1:?',
3756dc7727SGreg Roach        'FAX'   => '0:1:?',
384c93bfa7SGreg Roach        'CAUS'  => '0:1',
39a6081838SGreg Roach        'AGNC'  => '0:1',
404c93bfa7SGreg Roach        'RELI'  => '0:1',
414c93bfa7SGreg Roach        'NOTE'  => '0:M',
424c93bfa7SGreg Roach        'OBJE'  => '0:M',
434c93bfa7SGreg Roach        'SOUR'  => '0:M',
444c93bfa7SGreg Roach        'RESN'  => '0:1',
454c93bfa7SGreg Roach    ];
464c93bfa7SGreg Roach}
47