- md5
- eb8f0f29a2e10ebbe5b3291b42e817f8
- sha1
- b8eb8a4d3b0a4b78f69d3d987bca14708d1c7468
- sha256
- eb2ef63ed6cdd6d195f5f0c762b1382e4143cc856b724a54684c35e58d9dee68
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
<?php
/**
* @package Joomla.Installation
* @subpackage View
*
* @copyright Copyright (C) 2005 - 2013 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 7 releases, Joomla 3.1.0 to 3.2.1. See them all, or every version of this file.