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