Print a list of surnames.
public static surnameList ( string[][] $surnames, integer $style, boolean $totals, string $script, Fisharebest\Webtrees\Tree $tree ) : string | ||
$surnames | string[][] | array (of SURN, of array of SPFX_SURN, of array of PID) |
$style | integer | 1=bullet list, 2=semicolon-separated list, 3=tabulated list with up to 4 columns |
$totals | boolean | show totals after each name |
$script | string | indilist or famlist |
$tree | Fisharebest\Webtrees\Tree | Link back to the individual list in this tree |
return | string |