CoreFiles by mySites.guru
view.html.php42 lines, 924 bytes, from Joomla_2.5.8-Stable-Full_Package.zip
Raw History Compare with 2.5.7
md5
4613439d3996f56799a4d192ddd8a7fe
sha1
a9d136d2dcaf2aae71ea917272c2f4456e14c51e
sha256
f4908a368ddffc88b13059b9f183383ed204640c41cec3da0964fa9ca9038980
<?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;

/**
 * The HTML Joomla Core Pre-Install View
 *
 * @package		Joomla.Installation
 * @since		1.6
 */
class JInstallationViewPreinstall extends JViewLegacy
{
	/**
	 * Display the view
	 *
	 * @param	string
	 *
	 * @return	void
	 * @since	1.6
	 */
	public function display($tpl = null)
	{
		$this->state		= $this->get('State');
		$this->settings		= $this->get('PhpSettings');
		$this->options		= $this->get('PhpOptions');
		$this->sufficient	= $this->get('PhpOptionsSufficient');
		$this->version		= new JVersion;

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

		parent::display($tpl);
	}
}

The same content is in 4 releases, Joomla 2.5.5 to 2.5.8. See them all, or every version of this file.