- md5
- 2e47ac7c0ef3364e26c564078cbbd47b
- sha1
- 84371383c85744d04228a87c471ed9d46ff5234a
- sha256
- 53d015060f940e1ac0132b8db3ec70beb99cd849766eade6ee067ec9a128989e
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
<?php
/**
* @package Joomla.Installation
* @subpackage View
*
* @copyright Copyright (C) 2005 - 2017 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 14 releases, Joomla 3.7.0-alpha2 to 3.7.2. See them all, or every version of this file.