public function getCountryName() { $country = ''; if ($this->Country) { $country = CountryCodes::countryCode2name($this->Country); } return $country; }