Source for file strings.json.php

Documentation is available at strings.json.php

  1. <?php
  2. /**
  3.  * @package     Joomla.Administrator
  4.  * @subpackage  com_languages
  5.  *
  6.  * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
  7.  * @license     GNU General Public License version 2 or later; see LICENSE.txt
  8.  */
  9.  
  10. defined('_JEXEC'or die;
  11.  
  12. /**
  13.  * Languages Strings JSON Controller
  14.  *
  15.  * @package     Joomla.Administrator
  16.  * @subpackage  com_languages
  17.  * @since       2.5
  18.  */
  19. {
  20.     /**
  21.      * Method for refreshing the cache in the database with the known language strings
  22.      *
  23.      * @return  void 
  24.      *
  25.      * @since        2.5
  26.      */
  27.     public function refresh()
  28.     {
  29.         echo new JResponseJson($this->getModel('strings')->refresh());
  30.     }
  31.  
  32.     /**
  33.      * Method for searching language strings
  34.      *
  35.      * @return  void 
  36.      *
  37.      * @since        2.5
  38.      */
  39.     public function search()
  40.     {
  41.         echo new JResponseJson($this->getModel('strings')->search());
  42.     }
  43. }

Documentation generated on Tue, 19 Nov 2013 15:14:34 +0100 by phpDocumentor 1.4.3