xref: /webtrees/app/Elements/FamilyCensus.php (revision d11be7027e34e3121be11cc025421873364403f9)
182e500efSGreg Roach<?php
282e500efSGreg Roach
382e500efSGreg Roach/**
482e500efSGreg Roach * webtrees: online genealogy
5*d11be702SGreg Roach * Copyright (C) 2023 webtrees development team
682e500efSGreg Roach * This program is free software: you can redistribute it and/or modify
782e500efSGreg Roach * it under the terms of the GNU General Public License as published by
882e500efSGreg Roach * the Free Software Foundation, either version 3 of the License, or
982e500efSGreg Roach * (at your option) any later version.
1082e500efSGreg Roach * This program is distributed in the hope that it will be useful,
1182e500efSGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
1282e500efSGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1382e500efSGreg Roach * GNU General Public License for more details.
1482e500efSGreg Roach * You should have received a copy of the GNU General Public License
1582e500efSGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>.
1682e500efSGreg Roach */
1782e500efSGreg Roach
1882e500efSGreg Roachdeclare(strict_types=1);
1982e500efSGreg Roach
2082e500efSGreg Roachnamespace Fisharebest\Webtrees\Elements;
2182e500efSGreg Roach
2282e500efSGreg Roach/**
2382e500efSGreg Roach * FamilyCensus
2482e500efSGreg Roach */
2582e500efSGreg Roachclass FamilyCensus extends AbstractElement
2682e500efSGreg Roach{
2782e500efSGreg Roach    protected const SUBTAGS = [
28a6081838SGreg Roach        'TYPE'  => '0:1:?',
2982e500efSGreg Roach        'DATE'  => '0:1',
30f15544dcSGreg Roach        'HUSB'  => '0:1',
31f15544dcSGreg Roach        'WIFE'  => '0:1',
3282e500efSGreg Roach        'PLAC'  => '0:1',
3382e500efSGreg Roach        'ADDR'  => '0:1',
34f15544dcSGreg Roach        'EMAIL' => '0:1:?',
35f15544dcSGreg Roach        'WWW'   => '0:1:?',
36f15544dcSGreg Roach        'PHON'  => '0:1:?',
37f15544dcSGreg Roach        'FAX'   => '0:1:?',
38a6081838SGreg Roach        'CAUS'  => '0:1:?',
39a6081838SGreg Roach        'AGNC'  => '0:1:?',
40a6081838SGreg Roach        'RELI'  => '0:1:?',
4182e500efSGreg Roach        'NOTE'  => '0:M',
4282e500efSGreg Roach        'OBJE'  => '0:M',
4382e500efSGreg Roach        'SOUR'  => '0:M',
4482e500efSGreg Roach        'RESN'  => '0:1',
4582e500efSGreg Roach    ];
4682e500efSGreg Roach}
47