Family::getName - jcobban/Genealogy GitHub Wiki

$family->getName($options)

Up: class Family

This method returns the name of the Family from the current record. This extends Record::getName. This has one parameter:

parameter description
$options Associative array

The associative array supports the following options:

option description
'includeDate' if omitted or false do not include date of marriage
'includeLoc' if omitted or true include place of marriage if 'includeDate' is true
'connector' conjunction between spouse names, default 'and'
'dateprefix' prefix before marriage date, default 'on'
'locprefix' prefix before marriage location, default 'at'
'trantab' the value is either an instance of \Templating\TemplateTag or an associative array containing translations for strings used in describing a marriage into the target language.

Next: $family->get($fieldname)