Source for file languages.php
Documentation is available at languages.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
* Controller class to install additional languages for the Joomla Installer.
* @package Joomla.Installation
// Overrides application config and set the configuration.php file so tokens and database works
* Execute the controller.
/* @var InstallationApplicationWeb $app */
// Check for request forgeries.
// Get array of selected languages
$lids =
$this->input->get('cid', array(), 'array');
// Get the languages model.
// No languages have been selected
$app->enqueueMessage(JText::_('INSTL_LANGUAGES_NO_LANGUAGE_SELECTED'));
// Install selected languages
$r->view =
'defaultlanguage';
$app->sendJsonResponse($r);
Documentation generated on Tue, 19 Nov 2013 15:06:42 +0100 by phpDocumentor 1.4.3