Class JLanguageHelper

Description

Language helper class

  • since: 11.1

Located in /libraries/joomla/language/helper.php (line 19)


	
			
Method Summary
 static array createLanguageList (string $actualLanguage, [string $basePath = JPATH_BASE], [boolean $caching = false], [boolean $installed = false])
 static string detectLanguage ()
 static array getLanguages ([string $key = 'default'])
Methods
static createLanguageList (line 33)

Builds a list of the system languages which can be used in a select option

  • return: List of system languages
  • since: 11.1
  • access: public
static array createLanguageList (string $actualLanguage, [string $basePath = JPATH_BASE], [boolean $caching = false], [boolean $installed = false])
  • 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
static detectLanguage (line 82)

Tries to detect the language.

  • return: locale or null if not found
  • since: 11.1
  • access: public
static string detectLanguage ()
static getLanguages (line 132)

Get available languages

  • return: An array of published languages
  • since: 11.1
  • access: public
static array getLanguages ([string $key = 'default'])
  • string $key: Array key

Documentation generated on Tue, 19 Nov 2013 15:04:23 +0100 by phpDocumentor 1.4.3