[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @package Joomla.Administrator 5 * @subpackage com_languages 6 * 7 * @copyright (C) 2011 Open Source Matters, Inc. <https://www.joomla.org> 8 * @license GNU General Public License version 2 or later; see LICENSE.txt 9 */ 10 11 namespace Joomla\Component\Languages\Administrator\Controller; 12 13 use Joomla\CMS\MVC\Controller\AdminController; 14 use Joomla\CMS\Response\JsonResponse; 15 16 // phpcs:disable PSR1.Files.SideEffects 17 \defined('_JEXEC') or die; 18 // phpcs:enable PSR1.Files.SideEffects 19 20 /** 21 * Languages Strings JSON Controller 22 * 23 * @since 2.5 24 */ 25 class StringsController extends AdminController 26 { 27 /** 28 * Method for refreshing the cache in the database with the known language strings 29 * 30 * @return void 31 * 32 * @since 2.5 33 */ 34 public function refresh() 35 { 36 echo new JsonResponse($this->getModel('strings')->refresh()); 37 } 38 39 /** 40 * Method for searching language strings 41 * 42 * @return void 43 * 44 * @since 2.5 45 */ 46 public function search() 47 { 48 echo new JsonResponse($this->getModel('strings')->search()); 49 } 50 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |