private function resolveCountryNames($countryArray) { $out = ''; if (count($countryArray) == 0) { return $out; } foreach ($countryArray as $code) { $out .= $this->_localize(Gpf_Country_Countries::getCountryName($code)) . ', '; } return substr($out, 0, -2); }