xref: /webtrees/app/Elements/ResidenceWithValue.php (revision e873f434551745f888937263ff89e80db3b0f785)
13b2b4f4aSGreg Roach<?php
23b2b4f4aSGreg Roach
33b2b4f4aSGreg Roach/**
43b2b4f4aSGreg Roach * webtrees: online genealogy
5d11be702SGreg Roach * Copyright (C) 2023 webtrees development team
63b2b4f4aSGreg Roach * This program is free software: you can redistribute it and/or modify
73b2b4f4aSGreg Roach * it under the terms of the GNU General Public License as published by
83b2b4f4aSGreg Roach * the Free Software Foundation, either version 3 of the License, or
93b2b4f4aSGreg Roach * (at your option) any later version.
103b2b4f4aSGreg Roach * This program is distributed in the hope that it will be useful,
113b2b4f4aSGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
123b2b4f4aSGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
133b2b4f4aSGreg Roach * GNU General Public License for more details.
143b2b4f4aSGreg Roach * You should have received a copy of the GNU General Public License
153b2b4f4aSGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>.
163b2b4f4aSGreg Roach */
173b2b4f4aSGreg Roach
183b2b4f4aSGreg Roachdeclare(strict_types=1);
193b2b4f4aSGreg Roach
203b2b4f4aSGreg Roachnamespace Fisharebest\Webtrees\Elements;
213b2b4f4aSGreg Roach
223b2b4f4aSGreg Roach/**
233b2b4f4aSGreg Roach * ResidenceWithValue
243b2b4f4aSGreg Roach */
253b2b4f4aSGreg Roachclass ResidenceWithValue extends AbstractElement
263b2b4f4aSGreg Roach{
27*e873f434SGreg Roach    protected const array SUBTAGS = [
283b2b4f4aSGreg Roach        'TYPE'  => '0:1:?',
293b2b4f4aSGreg Roach        'DATE'  => '0:1',
303b2b4f4aSGreg Roach        'PLAC'  => '0:1',
313b2b4f4aSGreg Roach        'ADDR'  => '0:1',
323b2b4f4aSGreg Roach        'EMAIL' => '0:1:?',
333b2b4f4aSGreg Roach        'WWW'   => '0:1:?',
343b2b4f4aSGreg Roach        'PHON'  => '0:1:?',
353b2b4f4aSGreg Roach        'FAX'   => '0:1:?',
363b2b4f4aSGreg Roach        'CAUS'  => '0:1:?',
373b2b4f4aSGreg Roach        'AGNC'  => '0:1:?',
383b2b4f4aSGreg Roach        'RELI'  => '0:1:?',
393b2b4f4aSGreg Roach        'NOTE'  => '0:M',
403b2b4f4aSGreg Roach        'OBJE'  => '0:M',
413b2b4f4aSGreg Roach        'SOUR'  => '0:M',
423b2b4f4aSGreg Roach        'RESN'  => '0:1',
433b2b4f4aSGreg Roach    ];
443b2b4f4aSGreg Roach}
45