Surname::getSurname - jcobban/Genealogy GitHub Wiki
$surname->getSurname()
Up: class Surname
This method returns the Surname value of the current record. It is equivalent to $surname->get('Surname') or $surname['Surname'].
Next: $surname->getCount()