CoreFiles by mySites.guru
view.html.php38 lines, 767 bytes, from Joomla_2.5.28-Stable-Full_Package.zip
Raw History Compare with 2.5.27
md5
700c1a9f7ab79a2179000d3e095185a0
sha1
9062f7ab5862fa71ffb403fb753349ad8ba10139
sha256
7fc016e6d20edc978095097a42979edf10c377dca29f307f9fbb3f469677ba44
<?php
/**
 * @package		Joomla.Installation
 * @copyright	Copyright (C) 2005 - 2014 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 Database Configuration View
 *
 * @package		Joomla.Installation
 * @since		1.6
 */
class JInstallationViewDatabase extends JViewLegacy
{
	/**
	 * Display the view
	 *
	 */
	public function display($tpl = null)
	{
		$state = $this->get('State');
		$form  = $this->get('Form');

		// Check for errors.
		if (count($errors = $this->get('Errors'))) {
			JError::raiseError(500, implode("\n", $errors));
			return false;
		}

		$this->state = $state;
		$this->form  = $form;

		parent::display($tpl);
	}
}

The same content is in 11 releases, Joomla 2.5.18 to 2.5.28. See them all, or every version of this file.