class LanguageHelperWrapper

Wrapper class for LanguageHelper

Methods

array
createLanguageList( string $actualLanguage, string $basePath = JPATH_BASE, boolean $caching = false, boolean $installed = false)

Helper wrapper method for createLanguageList

string
detectLanguage()

Helper wrapper method for detectLanguage

array
getLanguages( string $key = 'default')

Helper wrapper method for getLanguages

Details

array createLanguageList( string $actualLanguage, string $basePath = JPATH_BASE, boolean $caching = false, boolean $installed = false)

Helper wrapper method for createLanguageList

Parameters

string $actualLanguage Client key for the area.
string $basePath Base path to use.
boolean $caching True if caching is used.
boolean $installed Get only installed languages.

Return Value

array List of system languages.

See also

LanguageHelper::createLanguageList

string detectLanguage()

Helper wrapper method for detectLanguage

Return Value

string locale or null if not found.

See also

LanguageHelper::detectLanguage

array getLanguages( string $key = 'default')

Helper wrapper method for getLanguages

Parameters

string $key Array key

Return Value

array An array of published languages.

See also

LanguageHelper::getLanguages