Where is the list of Countries? How can I add a country or change a country's name?
Geoip::getCountryDropDown()
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Where is the list of Countries? How can I add a country or change a country's name?
Geoip::getCountryDropDown()
In GeoIp.php there is a protected static $iso_3166_countryCodes which defines the array.
I want to make some customizations to class Geoip (sapphire/integration/GeoIp.php) but I only want my customizations to apply to the commerce module. Is there a way that I could overide this class just for one module WIHTOUT modifying any code in sapphire?