diff options
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 */ |