CoreFiles by mySites.guru
strings.json.php42 lines, 830 bytes, from Joomla_3.5.0-beta2-Beta-Full_Package.zip
Raw History Compare with 3.5.0-beta
md5
22f5348c131c28b7d022fa26e720818e
sha1
806c12b7c75e23cdca36be125b346681dcaaa5d2
sha256
892f83162ba356681d5758c41a19a91df6ba8a4dc2dbbeaac43016d7d59aeef7
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_languages
 *
 * @copyright   Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * Languages Strings JSON Controller
 *
 * @since  2.5
 */
class LanguagesControllerStrings extends JControllerAdmin
{
	/**
	 * Method for refreshing the cache in the database with the known language strings
	 *
	 * @return  void
	 *
	 * @since		2.5
	 */
	public function refresh()
	{
		echo new JResponseJson($this->getModel('strings')->refresh());
	}

	/**
	 * Method for searching language strings
	 *
	 * @return  void
	 *
	 * @since		2.5
	 */
	public function search()
	{
		echo new JResponseJson($this->getModel('strings')->search());
	}
}

The same content is in 29 releases, Joomla 3.5.0-beta2 to 3.7.0-alpha1. See them all, or every version of this file.