Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
LanguageController.php
1 <?php
2 /**
3  * Gentics Portal.Node PHP
4  * Author & Copyright (c) by Gentics Software GmbH
5  * sales@gentics.com
6  * http://www.gentics.com
7  * Licenses can be found in the LICENSE.txt file in the root-folder of this installation
8  * You must not use this software without a valid license agreement.
9  *
10  */
12 {
13 
14  public function actionChange($language, $return_url)
15  {
16  Yii::app()->user->setState('language', $language);
17  Yii::app()->controller->redirect($return_url);
18  }
19 }