CoreFiles by mySites.guru
html.php75 lines, 1,420 bytes, from Joomla_3.9.1-Stable-Full_Package.zip
Raw History Compare with 3.9.0
md5
0091bdc3805a02385ded0c3490da62f8
sha1
0e23a2fc23d619e0d3fb2bff8cc8c93d14a8bceb
sha256
f8af00621c21da4ce9f4f1876a186bd5a3fa539979d7a5ae8573da0e472f638c
<?php
/**
 * @package     Joomla.Installation
 * @subpackage  View
 *
 * @copyright   Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * The Installation Install View
 *
 * @since  3.1
 */
class InstallationViewInstallHtml extends JViewHtml
{
	/**
	 * Redefine the model so the correct type hinting is available.
	 *
	 * @var     InstallationModelSetup
	 * @since   3.1
	 */
	protected $model;

	/**
	 * The session options
	 *
	 * @var    array
	 * @since  3.1
	 */
	protected $options;

	/**
	 * The installation tasks to perform
	 *
	 * @var    array
	 * @since  3.1
	 */
	protected $tasks = array();

	/**
	 * Method to render the view.
	 *
	 * @return  string  The rendered view.
	 *
	 * @since   3.1
	 */
	public function render()
	{
		$this->options = $this->model->getOptions();

		/*
		 * Prepare the tasks array
		 * Note: The first character of the task *MUST* be capitalised or the application will not find the task
		 */
		$this->tasks[] = $this->options['db_old'] === 'remove' ? 'Database_remove' : 'Database_backup';
		$this->tasks[] = 'Database';

		if ($this->options['sample_file'])
		{
			$this->tasks[] = 'Sample';
		}

		$this->tasks[] = 'Config';

		if ($this->options['summary_email'])
		{
			$this->tasks[] = 'Email';
		}

		return parent::render();
	}
}

The same content is in 29 releases, Joomla 3.8.4-rc to 3.9.1. See them all, or every version of this file.