Exemplo n.º 1
0
 /**
  * Get localization dictionary content
  */
 public function localisationAction()
 {
     $dictionary = Request::post('dictionary', Filter::FILTER_CLEANED_STR, false);
     if ($dictionary === false) {
         Response::jsonError($this->_lang->get('WRONG_REQUEST'));
     }
     $data = $this->_manager->getLocalistaion($dictionary);
     Response::jsonSuccess($data);
 }