getLanguages
Description
Loads all available languages
Syntax
array getLanguages ([bool $use_cache[, bool $favor_utf8]])
Parameter $use_cache
Expected type: Boolean
Description: Setting this to false will ignore the cache
Parameter $favor_utf8
Expected type: Boolean
Description: Setting this to true will ignore all duplicate languages and favor the UTF-8 version
Return value
Expected type: Array
Description: Returns an array of all languages found
Name | Description |
---|---|
$context['languages'] | Holds all languages found |