Name::getName - jcobban/Genealogy GitHub Wiki

$name->getName($options,$options2)

Up: class Name

This method returns the name of the individual from the current record. This extends Record::getName. There is one parameter:

parameter description
$options bit mask combination of Name::NAME_INCLUDE_DATES, Name::NAME_SURNAME_FIRST and Name::NAME_INCLUDE_LOCS, or an associative array or an instance of class TemplateTag containing an internationalization translate table, which implies Name::NAME_INCLUDE_DATES. Default no options.
$options2 bit mask combination of Name::NAME_SURNAME_FIRST and Name::NAME_INCLUDE_LOCS, if $options is an internationalization table. Default no options.

Next: $name->get($fieldname)