xref: /webtrees/app/Census/CensusColumnMotherBirthPlaceSimple.php (revision a4500ed5f20510414ab3cde59bd1a55abbf68700)
1*a4500ed5SGreg Roach<?php
2*a4500ed5SGreg Roach/**
3*a4500ed5SGreg Roach * webtrees: online genealogy
4*a4500ed5SGreg Roach * Copyright (C) 2015 webtrees development team
5*a4500ed5SGreg Roach * This program is free software: you can redistribute it and/or modify
6*a4500ed5SGreg Roach * it under the terms of the GNU General Public License as published by
7*a4500ed5SGreg Roach * the Free Software Foundation, either version 3 of the License, or
8*a4500ed5SGreg Roach * (at your option) any later version.
9*a4500ed5SGreg Roach * This program is distributed in the hope that it will be useful,
10*a4500ed5SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
11*a4500ed5SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12*a4500ed5SGreg Roach * GNU General Public License for more details.
13*a4500ed5SGreg Roach * You should have received a copy of the GNU General Public License
14*a4500ed5SGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>.
15*a4500ed5SGreg Roach */
16*a4500ed5SGreg Roach
17*a4500ed5SGreg Roachnamespace Fisharebest\Webtrees\Census;
18*a4500ed5SGreg Roach
19*a4500ed5SGreg Roachuse Fisharebest\Webtrees\Individual;
20*a4500ed5SGreg Roach
21*a4500ed5SGreg Roach/**
22*a4500ed5SGreg Roach * The individual's mother's birth place.
23*a4500ed5SGreg Roach */
24*a4500ed5SGreg Roachclass CensusColumnMotherBirthPlaceSimple extends CensusColumnBirthPlaceSimple implements CensusColumnInterface {
25*a4500ed5SGreg Roach	/**
26*a4500ed5SGreg Roach	 * Generate the likely value of this census column, based on available information.
27*a4500ed5SGreg Roach	 *
28*a4500ed5SGreg Roach	 * @param Individual      $individual
29*a4500ed5SGreg Roach	 * @param Individual|null $head
30*a4500ed5SGreg Roach	 *
31*a4500ed5SGreg Roach	 * @return string
32*a4500ed5SGreg Roach	 */
33*a4500ed5SGreg Roach	public function generate(Individual $individual, Individual $head = null) {
34*a4500ed5SGreg Roach		return parent::generate($this->mother($individual), $head);
35*a4500ed5SGreg Roach	}
36*a4500ed5SGreg Roach}
37