Source for file languages.php
Documentation is available at languages.php
* @package Joomla.Administrator
* @subpackage com_languages
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* Languages component helper.
* @package Joomla.Administrator
* @subpackage com_languages
* @param string $vName The name of the active view.
* @param int $client The client id of the active view. Maybe be 0 or 1
public static function addSubmenu($vName, $client =
0)
JText::_('COM_LANGUAGES_SUBMENU_INSTALLED_SITE'),
'index.php?option=com_languages&view=installed&client=0',
$vName ==
'installed' &&
$client ===
0
JText::_('COM_LANGUAGES_SUBMENU_INSTALLED_ADMINISTRATOR'),
'index.php?option=com_languages&view=installed&client=1',
$vName ==
'installed' &&
$client ===
1
JText::_('COM_LANGUAGES_SUBMENU_CONTENT'),
'index.php?option=com_languages&view=languages',
JText::_('COM_LANGUAGES_SUBMENU_OVERRIDES'),
'index.php?option=com_languages&view=overrides',
* Gets a list of the actions that can be performed.
$assetName =
'com_languages';
foreach ($actions as $action)
$result->set($action->name, $user->authorise($action->name, $assetName));
* Method for parsing ini files
* @param string $filename Path and name of the ini file to parse
* @return array Array of strings found in the file, the array indices will be the keys. On failure an empty array will be returned
* Filter method for language keys.
* This method will be called by JForm while filtering the form data.
* @param string $value The language key to filter
* @return string The filtered language key
* Filter method for language strings.
* This method will be called by JForm while filtering the form data.
* @param string $value The language string to filter
* @return string The filtered language string
return $filter->clean($value);
Documentation generated on Tue, 19 Nov 2013 15:06:38 +0100 by phpDocumentor 1.4.3