Source for file languages.php
Documentation is available at languages.php
* @package Joomla.Administrator
* @subpackage com_languages
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* Utility class working with languages
* @package Joomla.Administrator
* @subpackage com_languages
* Method to generate an information about the default language
* @param boolean $published is the language the default?
* @return string html code
return JHtml::_('image', 'menu/icon-16-default.png', JText::_('COM_LANGUAGES_HEADING_DEFAULT'), null, true);
* Method to generate an input radio button
* @param integer $rowNum the row number
* @param string language tag
* @return string html code
public static function id($rowNum, $language)
return '<input type="radio" id="cb' .
$rowNum .
'" name="cid" value="' .
htmlspecialchars($language) .
'" onclick="Joomla.isChecked(this.checked);" title="' .
($rowNum +
1) .
'"/>';
* Returns an array of published state filter options.
* @return string The HTML code for the select tag
// Build the active state filter options.
$options[] =
JHtml::_('select.option', '1', 'JPUBLISHED');
$options[] =
JHtml::_('select.option', '0', 'JUNPUBLISHED');
$options[] =
JHtml::_('select.option', '-2', 'JTRASHED');
$options[] =
JHtml::_('select.option', '*', 'JALL');
Documentation generated on Tue, 19 Nov 2013 15:06:37 +0100 by phpDocumentor 1.4.3