CoreFiles by mySites.guru
view.html.php42 lines, 947 bytes, from Joomla_3.0.3-Stable-Full_Package.zip
Raw History Compare with 3.0.2
md5
66e5676e72862e786f38ab43eb6feeaa
sha1
8c2d6bd294725d3c20a10a20e8efbef4724f01a4
sha256
5401ab292fc85958d8f1cc84c1046fdc8e2000430785a9966d4054f233a3f68e
<?php
/**
 * @package    Joomla.Installation
 *
 * @copyright  Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * The HTML Joomla Core Languages View
 *
 * @package  Joomla.Installation
 * @since    3.0
 */
class InstallationViewLanguages extends JViewLegacy
{
	/**
	 * Display the view
	 *
	 * @param   string  $tpl  The name of the template file to parse; automatically searches through the template paths.
	 *
	 * @return  mixed  A string if successful, otherwise a Error object.
	 */
	public function display($tpl = null)
	{
		$items = $this->get('Items');

		// Check for errors.
		if (count($errors = $this->get('Errors')))
		{
			$app = JFactory::getApplication();
			$app->enqueueMessage(implode("\n", $errors), 'error');
			return false;
		}

		$this->items = $items;

		parent::display($tpl);
	}
}

The same content is in 2 releases, Joomla 3.0.3 to 3.0.4. See them all, or every version of this file.