/** * Registers the geocoder. * * No LSB in pre-5.3 PHP *sigh*. * This is to be refactored as soon as php >=5.3 becomes acceptable. * * @since 1.0 */ public static function register() { global $egMapsGeoNamesUser; if ($egMapsGeoNamesUser !== '') { \Maps\Geocoders::registerGeocoder('geonames', __CLASS__); } return true; }
/** * Registers the geocoder. * * No LSB in pre-5.3 PHP *sigh*. * This is to be refactored as soon as php >=5.3 becomes acceptable. * * @since 3.0 */ public static function register() { \Maps\Geocoders::registerGeocoder('geocoderus', __CLASS__); return true; }