diff options
author | xue <> | 2005-12-29 01:16:29 +0000 |
---|---|---|
committer | xue <> | 2005-12-29 01:16:29 +0000 |
commit | 7e0b0798997b197d57d09ef5e690afdb1e6a2712 (patch) | |
tree | 4b4b0901508713d49ddead72324ae60c8b56f1de /framework/TApplication.php | |
parent | ccdb91a35602377fe389c6c5b0945478929e0eca (diff) |
Changed module init() method signature.
Diffstat (limited to 'framework/TApplication.php')
-rw-r--r-- | framework/TApplication.php | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/framework/TApplication.php b/framework/TApplication.php index c28c3da9..60fc25b3 100644 --- a/framework/TApplication.php +++ b/framework/TApplication.php @@ -536,7 +536,7 @@ class TApplication extends TComponent if(!$this->_pageService) { $this->_pageService=new TPageService; - $this->_pageService->init(); + $this->_pageService->init(null); } return $this->_pageService; } @@ -559,7 +559,7 @@ class TApplication extends TComponent if(!$this->_request) { $this->_request=new THttpRequest; - $this->_request->init(); + $this->_request->init(null); } return $this->_request; } @@ -580,7 +580,7 @@ class TApplication extends TComponent if(!$this->_response) { $this->_response=new THttpResponse; - $this->_response->init(); + $this->_response->init(null); } return $this->_response; } @@ -601,7 +601,7 @@ class TApplication extends TComponent if(!$this->_session) { $this->_session=new THttpSession; - $this->_session->init(); + $this->_session->init(null); } return $this->_session; } @@ -622,7 +622,7 @@ class TApplication extends TComponent if(!$this->_errorHandler) { $this->_errorHandler=new TErrorHandler; - $this->_errorHandler->init(); + $this->_errorHandler->init(null); } return $this->_errorHandler; } @@ -643,7 +643,7 @@ class TApplication extends TComponent if(!$this->_statePersister) { $this->_statePersister=new TApplicationStatePersister; - $this->_statePersister->init(); + $this->_statePersister->init(null); } return $this->_statePersister; } @@ -1155,9 +1155,8 @@ class TApplicationStatePersister extends TModule implements IStatePersister * Initializes module. * @param TXmlElement module configuration (may be null) */ - public function init($config=null) + public function init($config) { - parent::init($config); $this->getApplication()->setApplicationStatePersister($this); } |