Skip to content

Commit

Permalink
Add view/default.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ciar4n committed Jul 21, 2017
1 parent b0a580d commit 3ffa406
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 97 deletions.
97 changes: 0 additions & 97 deletions _configuration.php

This file was deleted.

48 changes: 48 additions & 0 deletions installation/view/default.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?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;

/**
* Generic Installation View
*
* @since 3.1
*/
class InstallationViewDefault extends JViewHtml
{
/**
* The JForm object
*
* @var JForm
* @since 3.1
*/
protected $form;

/**
* Redefine the model so the correct type hinting is available.
*
* @var InstallationModelSetup
* @since 3.1
*/
protected $model;

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

return parent::render();
}
}

0 comments on commit 3ffa406

Please sign in to comment.