diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2018-08-18 22:48:03 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2018-08-18 23:11:28 +0100 |
| commit | bdb3725a601dbb1b6ad4f4efe979fd692386031c (patch) | |
| tree | 48f6db435e839121b21e250a440b16cdd6704aaf /app/Family.php | |
| parent | bbb76c12bd7338ebbb054916678efe20cb71ce1f (diff) | |
| download | webtrees-bdb3725a601dbb1b6ad4f4efe979fd692386031c.tar.gz webtrees-bdb3725a601dbb1b6ad4f4efe979fd692386031c.tar.bz2 webtrees-bdb3725a601dbb1b6ad4f4efe979fd692386031c.zip | |
CodeStyle
Diffstat (limited to 'app/Family.php')
| -rw-r--r-- | app/Family.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Family.php b/app/Family.php index 3376d92964..4cf14cbdaa 100644 --- a/app/Family.php +++ b/app/Family.php @@ -373,7 +373,7 @@ class Family extends GedcomRecord */ public function getAllNames() { - if (is_null($this->_getAllNames)) { + if (is_null($this->getAllNames)) { // Check the script used by each name, so we can match cyrillic with cyrillic, greek with greek, etc. $husb_names = []; if ($this->husb) { @@ -415,7 +415,7 @@ class Family extends GedcomRecord foreach ($husb_names as $husb_name) { foreach ($wife_names as $wife_name) { if ($husb_name['script'] == $wife_name['script']) { - $this->_getAllNames[] = [ + $this->getAllNames[] = [ 'type' => $husb_name['type'], 'sort' => $husb_name['sort'] . ' + ' . $wife_name['sort'], 'full' => $husb_name['full'] . ' + ' . $wife_name['full'], @@ -429,7 +429,7 @@ class Family extends GedcomRecord foreach ($husb_names as $husb_name) { foreach ($wife_names as $wife_name) { if ($husb_name['script'] != $wife_name['script']) { - $this->_getAllNames[] = [ + $this->getAllNames[] = [ 'type' => $husb_name['type'], 'sort' => $husb_name['sort'] . ' + ' . $wife_name['sort'], 'full' => $husb_name['full'] . ' + ' . $wife_name['full'], @@ -440,7 +440,7 @@ class Family extends GedcomRecord } } - return $this->_getAllNames; + return $this->getAllNames; } /** |
