CoreFiles by mySites.guru
view.html.php45 lines, 1,052 bytes, from Joomla_3.0.2-Stable-Full_Package.zip
Raw History Compare with 3.0.1
md5
1e84a81cb83a12450c4e565552d80d0c
sha1
f20c0f0b6319a5be17a81934b3d46e6700c12c5b
sha256
054b35a97647b0ab14e9384ca53f30e4c4731abf293efe8d11240244a67c7ed6
<?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    3.0
 */
class InstallationViewPreinstall extends JViewLegacy
{
	/**
	 * Display the view
	 *
	 * @param   string  $tpl  The name of the template file to parse; automatically searches through the template paths.
	 *
	 * @return  void
	 *
	 * @since   3.0
	 */
	public function display($tpl = null)
	{
		$this->form     = $this->get('Form');
		$this->state    = $this->get('State');
		$this->settings = $this->get('PhpSettings');
		$this->options  = $this->get('PhpOptions');
		$this->version  = new JVersion;

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

		parent::display($tpl);
	}
}

The same content is in 3 releases, Joomla 3.0.0 to 3.0.2. See them all, or every version of this file.