Пример #1
0
 /**
  * Set working language
  *
  * @return void
  */
 public function setWorkingLang()
 {
     $lang = JFactory::getApplication()->input->getString('lang', '');
     $next = JFactory::getApplication()->input->getString('next', 'dashboard');
     NenoHelper::setWorkingLanguage($lang);
     $url = JRoute::_('index.php?option=com_neno&view=' . $next, false);
     $this->setRedirect($url);
     $this->redirect();
 }