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/Web/Services/TPageService.php | |
parent | ccdb91a35602377fe389c6c5b0945478929e0eca (diff) |
Changed module init() method signature.
Diffstat (limited to 'framework/Web/Services/TPageService.php')
-rw-r--r-- | framework/Web/Services/TPageService.php | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php index 6288da5c..5723269f 100644 --- a/framework/Web/Services/TPageService.php +++ b/framework/Web/Services/TPageService.php @@ -144,10 +144,8 @@ class TPageService extends TService * This method is required by IService interface and is invoked by application.
* @param TXmlElement service configuration
*/
- public function init($config=null)
+ public function init($config)
{
- parent::init($config);
-
$application=$this->getApplication();
$application->setPageService($this);
@@ -288,7 +286,7 @@ class TPageService extends TService if(!$this->_templateManager)
{
$this->_templateManager=new TTemplateManager;
- $this->_templateManager->init();
+ $this->_templateManager->init(null);
}
return $this->_templateManager;
}
@@ -309,7 +307,7 @@ class TPageService extends TService if(!$this->_assetManager)
{
$this->_assetManager=new TAssetManager;
- $this->_assetManager->init();
+ $this->_assetManager->init(null);
}
return $this->_assetManager;
}
@@ -330,7 +328,7 @@ class TPageService extends TService if(!$this->_themeManager)
{
$this->_themeManager=new TThemeManager;
- $this->_themeManager->init();
+ $this->_themeManager->init(null);
}
return $this->_themeManager;
}
@@ -351,7 +349,7 @@ class TPageService extends TService if(!$this->_pageStatePersister)
{
$this->_pageStatePersister=new TPageStatePersister;
- $this->_pageStatePersister->init();
+ $this->_pageStatePersister->init(null);
}
return $this->_pageStatePersister;
}
|