CountryName::getName - jcobban/Genealogy GitHub Wiki
$countryName->getName()
This method returns the name of the country from the current record. This extends Record::getName so that if there was no matching record in the database, that is $countryName->isExisting()
returns false, the method returns the primary, English, name of the country from the associated Country record. This method is usually called indirectly by calling $country->getName($lang).