Source for file language.php
Documentation is available at language.php
* @package Joomla.Platform
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
* Form Field class for the Joomla Platform.
* Supports a list of installed application languages
* @package Joomla.Platform
* @see JFormFieldContentLanguage for a select list of content languages.
protected $type =
'Language';
* Method to get the field options.
* @return array The field option objects.
// Initialize some field attributes.
$client = (string)
$this->element['client'];
if ($client !=
'site' &&
$client !=
'administrator')
// Merge any additional options in the XML definition.
// Set the default value active language
switch ((string)
$this->value)
$this->value =
$langParams->get('site', 'en-GB');
$this->value =
$langParams->get('administrator', 'en-GB');
$this->value =
$lang->getTag();
Documentation generated on Tue, 19 Nov 2013 15:06:32 +0100 by phpDocumentor 1.4.3