- <?php
- /**
- * class file.
- *
- * @license http://opensource.org/licenses/mozilla1.1.php Mozilla Public License
- * @copyright 2005, diemeisterei GmbH. All rights reserved.
- * @author $Author: schmunk $
- * @version $Revision: 220 $ $Date: 2006-05-19 19:50:30 +0200 (Fr, 19 Mai 2006) $
- * @package Lithron
- * @subpackage WebControls
- */
-
- /**
- * Stores culture in session
- *
- * @package System.I18N
- */
- Prado::using('System.I18N.core.HTTPNegotiator');
- class LGlobalizationSession extends TGlobalization
- {
- /**
- * Initialization of session-based culture
- *
- * Sets culture according to session value.
- */
- public function init($xml)
- {
- parent::init($xml);
- //set the culture according to session settings
- if ($c = $this->Application->Session->itemAt("Culture"))
- $this->setCulture($c);
- }
- }
-
- ?>