CountryList
class CountryList (View source)
Properties
| protected | $countries | 
Methods
                    __construct()
        
                                            
                
            No description
                    loadCountries()
        
                                            
                
            No description
                    array
                
                
                    getCountries()
        
                                            
                
            Returns an array of countries with their short name as the key and their full name as the value
                    string|null
                
                
                    getCountryName(string $code)
        
                                            
                
            Gets a country name given its code.
                    array
                
                
                    getCountriesForLanguage(string $languageCode, string $languageStatuses = 'orfm')
        
                                            
                
            Return a list of territory codes where a specific language is spoken, sorted by the total number of people speaking that language.
Details
        
                            
    __construct()
        
    
    No description
        
                    protected        
    loadCountries()
        
    
    No description
        
                            array
    getCountries()
        
    
    Returns an array of countries with their short name as the key and their full name as the value
        
                            string|null
    getCountryName(string $code)
        
    
    Gets a country name given its code.
        
                            array
    getCountriesForLanguage(string $languageCode, string $languageStatuses = 'orfm')
        
    
    Return a list of territory codes where a specific language is spoken, sorted by the total number of people speaking that language.