Return the list of languages spoken in a territory.
public static getLanguages ( string $territoryCode, string $filterStatuses = '', string $onlyCodes = false ) : array | null | ||
$territoryCode | string | The territory code |
$filterStatuses | string | Filter language status.
|
$onlyCodes | string | Set to true to retrieve only the language codes. If set to false (default) you'll receive a list of arrays with these keys:
|
return | array | null | Return the languages spoken in the specified territory, as described by the $onlyCodes parameter (or null if $territoryCode is not valid or no data is available) |