CoreFiles by mySites.guru
view.html.php41 lines, 1,153 bytes, from Joomla_3.4.3-Stable-Full_Package.zip
Raw History Compare with 3.4.2
md5
42794ce32f886dd58745e230cc0cf9f5
sha1
28bb11b732b976cbf1958845dfcbd4ae217fa0ca
sha256
9a3d9e0a96484876d4738f5640a4c438c82af2161e159411770b6813a65d3948
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_languages
 *
 * @copyright   Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * Displays the multilang status.
 *
 * @since  1.7.1
 */
class LanguagesViewMultilangstatus extends JViewLegacy
{
	/**
	 * Display the view.
	 *
	 * @param   string  $tpl  The name of the template file to parse.
	 *
	 * @return  void
	 */
	public function display($tpl = null)
	{
		require_once JPATH_COMPONENT . '/helpers/multilangstatus.php';

		$this->homes			= MultilangstatusHelper::getHomes();
		$this->language_filter	= JLanguageMultilang::isEnabled();
		$this->switchers		= MultilangstatusHelper::getLangswitchers();
		$this->listUsersError	= MultilangstatusHelper::getContacts();
		$this->contentlangs		= MultilangstatusHelper::getContentlangs();
		$this->site_langs		= MultilangstatusHelper::getSitelangs();
		$this->statuses			= MultilangstatusHelper::getStatus();
		$this->homepages		= MultilangstatusHelper::getHomepages();

		parent::display($tpl);
	}
}

The same content is in 11 releases, Joomla 3.4.0-beta1 to 3.4.3. See them all, or every version of this file.