| Recommend this page to a friend! | 
|  Download | 
| Info | Documentation |  Files |  Install with Composer |  Download | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
|   29% | Total: 69 | All time:  10,313 This week: 206  | ||||
| Version | License | PHP version | Categories | |||
| continent-names-mult 1.0 | Custom (specified... | 5 | Localization, PHP 5, Geography | 
| Description | Author | |
| This class can retrieve the continent names in multiple languages. Innovation Award | 
Converts continent code to full name in 17 languages (and/or script variations).
use peterkahl\Continent\Continent;
# These are examples of COUNTRY CODE >>> CONTINENT CODE
echo Continent::Country2ContinentCode('cn');     # AS (China is in Asia)
echo Continent::Country2ContinentCode('HU');     # EU (Hungary is in Europe)
# These are examples of CONTINENT CODE >>> CONTINENT NAME
echo Continent::getContinentName('as', 'he');    # ???????
echo Continent::getContinentName('EU', 'ru');    # ??????
echo Continent::getContinentName('af', 'zh-tw'); # ??
echo Continent::getContinentName('sa', 'cy');    # Sydamerika
|  Files (4) | 
| File | Role | Description | ||
|---|---|---|---|---|
|  src (1 file) | ||||
|    composer.json | Data | Auxiliary data | ||
|    LICENSE | Lic. | License text | ||
|    README.md | Doc. | Documentation | ||
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
|  Install with Composer | 
|  | continent-names-mult-2019-10-12.zip 8KB | 
|  | continent-names-mult-2019-10-12.tar.gz 7KB | 
|  | Install with Composer | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% | 
 | 
 | 
| User Ratings | ||||||||||||||||||||||||||||||
| 
 | ||||||||||||||||||||||||||||||
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.
 If you know an application of this package, send a message to the author to add a link here.