CoreFiles by mySites.guru
view.html.php40 lines, 831 bytes, from Joomla_2.5.4-Stable-Full_Package.zip
Raw History Compare with 2.5.3
md5
311acb67eb37fc7a69bb171e407e1605
sha1
89f603f489b3c4ff1df8fb99f8447c82dd7418d1
sha256
a682c4adf21001c3f646bf42868ef6a5980ac1e50879082ac46534c40fdb1b14
<?php
/**
 * @package		Joomla.Installation
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

jimport('joomla.application.component.view');

/**
 * The HTML Joomla Core Database Configuration View
 *
 * @package		Joomla.Installation
 * @since		1.6
 */
class JInstallationViewDatabase extends JView
{
	/**
	 * 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->assignRef('state', $state);
		$this->assignRef('form', $form);

		parent::display($tpl);
	}
}

The same content is in 5 releases, Joomla 2.5.0 to 2.5.4. See them all, or every version of this file.