xref: /webtrees/app/Census/CensusColumnConditionUs.php (revision d11be7027e34e3121be11cc025421873364403f9)
181d1be7aSGreg Roach<?php
23976b470SGreg Roach
381d1be7aSGreg Roach/**
481d1be7aSGreg Roach * webtrees: online genealogy
5*d11be702SGreg Roach * Copyright (C) 2023 webtrees development team
681d1be7aSGreg Roach * This program is free software: you can redistribute it and/or modify
781d1be7aSGreg Roach * it under the terms of the GNU General Public License as published by
881d1be7aSGreg Roach * the Free Software Foundation, either version 3 of the License, or
981d1be7aSGreg Roach * (at your option) any later version.
1081d1be7aSGreg Roach * This program is distributed in the hope that it will be useful,
1181d1be7aSGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
1281d1be7aSGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1381d1be7aSGreg Roach * GNU General Public License for more details.
1481d1be7aSGreg Roach * You should have received a copy of the GNU General Public License
1589f7189bSGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>.
1681d1be7aSGreg Roach */
17fcfa147eSGreg Roach
18e7f56f2aSGreg Roachdeclare(strict_types=1);
1915d603e7SGreg Roach
2081d1be7aSGreg Roachnamespace Fisharebest\Webtrees\Census;
2181d1be7aSGreg Roach
2281d1be7aSGreg Roach/**
2381d1be7aSGreg Roach * Marital status.
2481d1be7aSGreg Roach */
25c1010edaSGreg Roachclass CensusColumnConditionUs extends CensusColumnConditionEnglish
26c1010edaSGreg Roach{
27918e47c5SGreg Roach    // Text to display for married males
28918e47c5SGreg Roach    protected const HUSBAND = 'M';
29cfe766afSGreg Roach
30918e47c5SGreg Roach    // Text to display for married females
31918e47c5SGreg Roach    protected const WIFE = 'M';
3281d1be7aSGreg Roach
33918e47c5SGreg Roach    // Text to display for married unmarried males
34918e47c5SGreg Roach    protected const BACHELOR = 'S';
35cfe766afSGreg Roach
36918e47c5SGreg Roach    // Text to display for married unmarried females
37918e47c5SGreg Roach    protected const SPINSTER = 'S';
3800225b98SGreg Roach
39918e47c5SGreg Roach    // Text to display for male children
40918e47c5SGreg Roach    protected const BOY = 'S';
41cfe766afSGreg Roach
42918e47c5SGreg Roach    // Text to display for female children
43918e47c5SGreg Roach    protected const GIRL = 'S';
4435326bd6SGreg Roach
4505edc757SGreg Roach    // Text to display for divorced individuals
46918e47c5SGreg Roach    protected const DIVORCE = 'D';
47cfe766afSGreg Roach
48918e47c5SGreg Roach    // Text to display for divorced females
49918e47c5SGreg Roach    protected const DIVORCEE = 'D';
5035326bd6SGreg Roach
51918e47c5SGreg Roach    // Text to display for widowed males
52918e47c5SGreg Roach    protected const WIDOWER = 'W';
53cfe766afSGreg Roach
54918e47c5SGreg Roach    // Text to display for widowed females
55918e47c5SGreg Roach    protected const WIDOW = 'W';
5681d1be7aSGreg Roach}
57