Source for file language.php
Documentation is available at language.php
* @package Joomla.Administrator
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
* Finder language helper class.
* @package Joomla.Administrator
* Method to return a plural language code for a taxonomy branch.
* @param string $branchName Branch title.
* @return string Language key code.
return 'PLG_FINDER_QUERY_FILTER_BRANCH_P_' .
$return;
* Method to return a singular language code for a taxonomy branch.
* @param string $branchName Branch name.
* @return string Language key code.
return 'PLG_FINDER_QUERY_FILTER_BRANCH_S_' .
$return;
* Method to load Smart Search component language file.
* Method to load Smart Search plug-in language files.
// If already loaded, don't load again.
// Get array of all the enabled Smart Search plug-in names.
$db =
JFactory::getDbo();
$query =
$db->getQuery(true)
->from($db->quoteName('#__extensions'))
->where($db->quoteName('type') .
' = ' .
$db->quote('plugin'))
->where($db->quoteName('folder') .
' = ' .
$db->quote('finder'))
->where($db->quoteName('enabled') .
' = 1');
$plugins =
$db->loadObjectList();
// Load generic language strings.
// Load language file for each plug-in.
foreach ($plugins as $plugin)
Documentation generated on Tue, 19 Nov 2013 15:06:26 +0100 by phpDocumentor 1.4.3