app/GedcomCode/GedcomCodeAdop.php 1 location
|
@@ 84-92 (lines=9) @@
|
| 81 |
|
* |
| 82 |
|
* @return string[] |
| 83 |
|
*/ |
| 84 |
|
public static function getValues(GedcomRecord $record = null) { |
| 85 |
|
$values = []; |
| 86 |
|
foreach (self::$TYPES as $type) { |
| 87 |
|
$values[$type] = self::getValue($type, $record); |
| 88 |
|
} |
| 89 |
|
|
| 90 |
|
// Don't sort these. We want the order: both parents, father, mother |
| 91 |
|
return $values; |
| 92 |
|
} |
| 93 |
|
} |
| 94 |
|
|
app/GedcomCode/GedcomCodeRela.php 1 location
|
@@ 280-288 (lines=9) @@
|
| 277 |
|
* |
| 278 |
|
* @return string[] |
| 279 |
|
*/ |
| 280 |
|
public static function getValues(GedcomRecord $record = null) { |
| 281 |
|
$values = []; |
| 282 |
|
foreach (self::$TYPES as $type) { |
| 283 |
|
$values[$type] = self::getValue($type, $record); |
| 284 |
|
} |
| 285 |
|
uasort($values, '\Fisharebest\Webtrees\I18N::strcasecmp'); |
| 286 |
|
|
| 287 |
|
return $values; |
| 288 |
|
} |
| 289 |
|
} |
| 290 |
|
|
app/GedcomCode/GedcomCodeName.php 1 location
|
@@ 158-166 (lines=9) @@
|
| 155 |
|
* |
| 156 |
|
* @return string[] |
| 157 |
|
*/ |
| 158 |
|
public static function getValues(GedcomRecord $record = null) { |
| 159 |
|
$values = ['' => '']; |
| 160 |
|
foreach (self::$TYPES as $type) { |
| 161 |
|
$values[$type] = self::getValue($type, $record); |
| 162 |
|
} |
| 163 |
|
uasort($values, '\Fisharebest\Webtrees\I18N::strcasecmp'); |
| 164 |
|
|
| 165 |
|
return $values; |
| 166 |
|
} |
| 167 |
|
} |
| 168 |
|
|
app/GedcomCode/GedcomCodePedi.php 1 location
|
@@ 106-114 (lines=9) @@
|
| 103 |
|
* |
| 104 |
|
* @return string[] |
| 105 |
|
*/ |
| 106 |
|
public static function getValues(GedcomRecord $record = null) { |
| 107 |
|
$values = ['' => '']; |
| 108 |
|
foreach (self::$TYPES as $type) { |
| 109 |
|
$values[$type] = self::getValue($type, $record); |
| 110 |
|
} |
| 111 |
|
uasort($values, '\Fisharebest\Webtrees\I18N::strcasecmp'); |
| 112 |
|
|
| 113 |
|
return $values; |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
/** |
| 117 |
|
* A label for a parental family group |