Joomla! 1.5 API

Packages

Package: Joomla-Framework

License

Content on this site is copyright © 2005 - 2011 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.

 Class JLanguageHelper

Description
  • since: 1.5

Located in /joomla/language/helper.php (line 24)

Class JLanguageHelper   (Subpackage Language)
Method Summary
Method void createLanguageList (string $actualLanguage, [string $basePath = JPATH_BASE], [array $caching = false])
Method string detectLanguage ()
Methods
createLanguageList (line 35)

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

  • since: 1.5
  • access: public
void createLanguageList (string $actualLanguage, [string $basePath = JPATH_BASE], [array $caching = false])
  • string $actualLanguage: Client key for the area
  • string $basePath: Base path to use
  • array $caching: An array of arrays ( text, value, selected )
detectLanguage (line 64)

Tries to detect the language

  • return: locale
  • since: 1.5
  • access: public
string detectLanguage ()
Support Joomla!