Source for file installation.php
Documentation is available at installation.php
* @package Joomla.Installation
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* HTML utility class for the installation application
* @package Joomla.Installation
* Method to generate the side bar
* @return string Markup for the side bar
// Determine if the configuration file path is writable.
$html[] =
'<ul class="nav nav-tabs">';
$html[] =
static::getTab($tab, $tabs);
* Method to generate the side bar
* @return string Markup for the side bar
$tabs[] =
'defaultlanguage';
$html[] =
'<ul class="nav nav-tabs">';
$html[] =
static::getTab($tab, $tabs);
* Method to generate the navigation tab
* @param string $id The container ID
* @param array $tabs The navigation tabs
* @return string Markup for the tab
private static function getTab($id, $tabs)
$num =
static::getTabNumber($id, $tabs);
$view =
static::getTabNumber($input->getWord('view'), $tabs);
$tab =
'<span class="badge">' .
$num .
'</span> ' .
JText::_('INSTL_STEP_' .
strtoupper($id) .
'_LABEL');
$tab =
'<a href="#" onclick="Install.submitform();">' .
$tab .
'</a>';
$tab =
'<span>' .
$tab .
'</span>';
$tab =
'<a href="#" onclick="return Install.goToPage(\'' .
$id .
'\')">' .
$tab .
'</a>';
return '<li class="step' .
($num ==
$view ?
' active' :
'') .
'" id="' .
$id .
'">' .
$tab .
'</li>';
* Method to determine the tab (step) number
* @param string $id The container ID
* @param array $tabs The navigation tabs
* @return integer Tab number in navigation sequence
private static function getTabNumber($id, $tabs)
Documentation generated on Tue, 19 Nov 2013 15:05:40 +0100 by phpDocumentor 1.4.3