Source for file installer.php
Documentation is available at installer.php
* @package Joomla.Administrator
* @subpackage com_installer
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @package Joomla.Administrator
* @subpackage com_installer
* @param string $vName The name of the active view.
public static function addSubmenu($vName =
'install')
JText::_('COM_INSTALLER_SUBMENU_INSTALL'),
'index.php?option=com_installer',
JText::_('COM_INSTALLER_SUBMENU_UPDATE'),
'index.php?option=com_installer&view=update',
JText::_('COM_INSTALLER_SUBMENU_MANAGE'),
'index.php?option=com_installer&view=manage',
JText::_('COM_INSTALLER_SUBMENU_DISCOVER'),
'index.php?option=com_installer&view=discover',
JText::_('COM_INSTALLER_SUBMENU_DATABASE'),
'index.php?option=com_installer&view=database',
JText::_('COM_INSTALLER_SUBMENU_WARNINGS'),
'index.php?option=com_installer&view=warnings',
JText::_('COM_INSTALLER_SUBMENU_LANGUAGES'),
'index.php?option=com_installer&view=languages',
* Get a list of filter options for the extension types.
* @return array An array of stdClass objects.
$query =
$db->getQuery(true)
->select('DISTINCT type')
$types =
$db->loadColumn();
foreach ($types as $type)
$options[] =
JHtml::_('select.option', $type, 'COM_INSTALLER_TYPE_' .
strtoupper($type));
* Get a list of filter options for the extension types.
* @return array An array of stdClass objects.
$query =
$db->getQuery(true)
->select('DISTINCT folder')
->where('folder != ' .
$db->quote(''))
$folders =
$db->loadColumn();
foreach ($folders as $folder)
$options[] =
JHtml::_('select.option', $folder, $folder);
* Gets a list of the actions that can be performed.
$assetName =
'com_installer';
foreach ($actions as $action)
$result->set($action->name, $user->authorise($action->name, $assetName));
Documentation generated on Tue, 19 Nov 2013 15:05:48 +0100 by phpDocumentor 1.4.3