diff options
author | wei <> | 2006-01-06 04:42:44 +0000 |
---|---|---|
committer | wei <> | 2006-01-06 04:42:44 +0000 |
commit | 4835704a04cf5aa5ec71a8aef902d54b9c6cae82 (patch) | |
tree | 39623c082a78db1b3569a12ab54aa751d376af21 /framework/TApplication.php | |
parent | 673d5c08a4d27906864659def27c7783fe45c04f (diff) |
Adding I18N support.
Diffstat (limited to 'framework/TApplication.php')
-rw-r--r-- | framework/TApplication.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/framework/TApplication.php b/framework/TApplication.php index eb53653b..4d773d7b 100644 --- a/framework/TApplication.php +++ b/framework/TApplication.php @@ -239,6 +239,12 @@ class TApplication extends TComponent * @var IUser user instance, could be null */ private $_user=null; + + /** + * @var TGlobalization module, could be null + */ + private $_globalization=null; + /** * @var TAuthorizationRuleCollection collection of authorization rules */ @@ -662,6 +668,16 @@ class TApplication extends TComponent $this->_user=$user; } + public function getGlobalization() + { + return $this->_globalization; + } + + public function setGlobalization(TGlobalization $handler) + { + $this->_globalization = $handler; + } + /** * @return TAuthorizationRuleCollection list of authorization rules for the current request */ |