Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public static function convert(\Gedcom\Record\Fam\Even\Husb &$husb, $level = 0) |
||
26 | { |
||
27 | $output = ''; |
||
28 | |||
29 | $output .= $level." WIFE \n"; |
||
30 | // level up |
||
31 | $level++; |
||
32 | |||
33 | // AGE |
||
34 | $age = $husb->getAge(); |
||
|
|||
35 | if (!empty($age)) { |
||
36 | $output .= $level.' AGE '.$age."\n"; |
||
37 | } |
||
38 | |||
39 | return $output; |
||
40 | } |
||
42 |