Class Continent
Documentation of includes/core/continent.class.php
Provides lists of Continents and converter methods.
Methods
continentToAbbreviation
Returns a abbreviation from a given Continent
Description
string = continentToAbbreviation ( string $continent )
Parameters
-
$continent
A string from with a Continent name.
Example
$country = $aseco->continent->continentToAbbreviation('Europe');
Return Values
EU
The return value is an empty string, if the Continent was not found.
abbreviationToContinent
Returns a Continent from a given abbreviation
Description
string = abbreviationToContinent ( string $abbreviation )
Parameters
-
$abbreviation
A Continent abbreviation.
Example
$continent = $aseco->continent->abbreviationToContinent('NA');
Return Values
North America
The return value is an empty string, if the abbreviation was not found.
Class Continent
Documentation of includes/core/continent.class.php
Provides lists of Continents and converter methods.
Constants
Constants | Values |
---|---|
Continent::EUROPE |
EU |
Continent::AFRICA |
AF |
Continent::ASIA |
AS |
Continent::MIDDLE_EAST |
ME |
Continent::NORTH_AMERICA |
NA |
Continent::SOUTH_AMERICA |
SA |
Continent::OCEANIA |
OC |
This is a private enthusiast Website. Maniaplanet, Trackmania, Shootmania, Nadeo are trademarks of Ubisoft Entertainment.
Windows is a registered trademark of Microsoft Corporation.
Last modified: Wed, 17 Apr 2019 22:19:41 +0200