Completed
Push — develop ( 989811...4ba2ac )
by Greg
10:44
created

CensusColumnConditionEnglish::generate()   A

Complexity

Conditions 4
Paths 3

Size

Total Lines 11
Code Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 11
rs 9.2
c 1
b 0
f 0
cc 4
eloc 8
nc 3
nop 2
1
<?php
2
/**
3
 * webtrees: online genealogy
4
 * Copyright (C) 2016 webtrees development team
5
 * This program is free software: you can redistribute it and/or modify
6
 * it under the terms of the GNU General Public License as published by
7
 * the Free Software Foundation, either version 3 of the License, or
8
 * (at your option) any later version.
9
 * This program is distributed in the hope that it will be useful,
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
 * GNU General Public License for more details.
13
 * You should have received a copy of the GNU General Public License
14
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15
 */
16
namespace Fisharebest\Webtrees\Census;
17
18
/**
19
 * Marital status.
20
 */
21
class CensusColumnConditionEnglish extends AbstractCensusColumnCondition {
22
	/* Text to display for married individuals */
23
	protected $husband = 'Mar';
24
	protected $wife    = 'Mar';
25
26
	/* Text to display for unmarried individuals */
27
	protected $bachelor = 'Unm';
28
	protected $spinster = 'Unm';
29
30
	/* Text to display for divorced individuals */
31
	protected $divorce  = 'Div';
32
	protected $divorcee = 'Div';
33
34
	/* Text to display for widowed individuals (not yet implemented) */
35
	protected $widower = 'Wid';
36
	protected $widow   = 'Wid';
37
}
38