public function saveLanguage()
    {
        if (DbHelper::isInstalled()) {
            $this->checkTokenInUrl();
        }
        $language = $this->getParam('language');
        LanguagesManager::setLanguageForSession($language);
        Url::redirectToReferrer();
    }
public function saveLanguage()
    {
        if (DbHelper::isInstalled()) {
            $this->checkTokenInUrl();
        }
        $language = $this->getParam('language');
        LanguagesManager::setLanguageForSession($language);
        Url::redirectToReferrer();
    }
public function saveLanguage ( ) { if ( DbHelper :: isInstalled ( ) ) { $ this -> checkTokenInUrl ( ) ; } $ language = $ this -> getParam ( 'language' ) ; LanguagesManager :: setLanguageForSession ( $ language ) ; Url :: redirectToReferrer ( ) ; }
Save language selection in session-store
Save language selection in session - store