xref: /webtrees/app/Census/CensusColumnConditionUs.php (revision e7f56f2af615447ab1a7646851f88b465ace9e04)
181d1be7aSGreg Roach<?php
281d1be7aSGreg Roach/**
381d1be7aSGreg Roach * webtrees: online genealogy
41062a142SGreg Roach * Copyright (C) 2018 webtrees development team
581d1be7aSGreg Roach * This program is free software: you can redistribute it and/or modify
681d1be7aSGreg Roach * it under the terms of the GNU General Public License as published by
781d1be7aSGreg Roach * the Free Software Foundation, either version 3 of the License, or
881d1be7aSGreg Roach * (at your option) any later version.
981d1be7aSGreg Roach * This program is distributed in the hope that it will be useful,
1081d1be7aSGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
1181d1be7aSGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1281d1be7aSGreg Roach * GNU General Public License for more details.
1381d1be7aSGreg Roach * You should have received a copy of the GNU General Public License
1481d1be7aSGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>.
1581d1be7aSGreg Roach */
16*e7f56f2aSGreg Roachdeclare(strict_types=1);
1715d603e7SGreg Roach
1881d1be7aSGreg Roachnamespace Fisharebest\Webtrees\Census;
1981d1be7aSGreg Roach
2081d1be7aSGreg Roach/**
2181d1be7aSGreg Roach * Marital status.
2281d1be7aSGreg Roach */
23c1010edaSGreg Roachclass CensusColumnConditionUs extends CensusColumnConditionEnglish
24c1010edaSGreg Roach{
25cfe766afSGreg Roach    /** @var string Text to display for married males */
2600225b98SGreg Roach    protected $husband = 'M';
27cfe766afSGreg Roach
28cfe766afSGreg Roach    /** @var string Text to display for married females */
2900225b98SGreg Roach    protected $wife    = 'M';
3081d1be7aSGreg Roach
31cfe766afSGreg Roach    /** @var string Text to display for unmarried males */
3200225b98SGreg Roach    protected $bachelor = 'S';
33cfe766afSGreg Roach
34cfe766afSGreg Roach    /** @var string Text to display for unmarried females */
3500225b98SGreg Roach    protected $spinster = 'S';
3600225b98SGreg Roach
37cfe766afSGreg Roach    /** @var string Text to display for male children */
3800225b98SGreg Roach    protected $boy  = 'S';
39cfe766afSGreg Roach
40cfe766afSGreg Roach    /** @var string Text to display for female children */
4100225b98SGreg Roach    protected $girl = 'S';
4235326bd6SGreg Roach
430fdcb35bSGreg Roach    /** @var string Text to display for divorced individuals */
4400225b98SGreg Roach    protected $divorce  = 'D';
45cfe766afSGreg Roach
46cfe766afSGreg Roach    /** @var string Text to display for divorced females */
4700225b98SGreg Roach    protected $divorcee = 'D';
4835326bd6SGreg Roach
49cfe766afSGreg Roach    /** @var string Text to display for widowed males */
5000225b98SGreg Roach    protected $widower = 'W';
51cfe766afSGreg Roach
52cfe766afSGreg Roach    /** @var string Text to display for widowed females */
5300225b98SGreg Roach    protected $widow   = 'W';
5481d1be7aSGreg Roach}
55