- md5
- e119600fc2679b6a27277ddd93d23c3c
- sha1
- df8641d2d40802ea73440375f078791a9286d40f
- sha256
- ce940ddab02deda02139786c4df0158b294d5d579087abc4cb8786b85ffd8ebb
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
<?php
/**
* @package Joomla.Installation
* @subpackage View
*
* @copyright Copyright (C) 2005 - 2014 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
*
* @package Joomla.Installation
* @subpackage 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 13 releases, Joomla 3.2.2 to 3.3.6. See them all, or every version of this file.