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