diff options
Diffstat (limited to 'framework/Web/THttpResponse.php')
-rw-r--r-- | framework/Web/THttpResponse.php | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/framework/Web/THttpResponse.php b/framework/Web/THttpResponse.php index dfa2d023..ad290fb0 100644 --- a/framework/Web/THttpResponse.php +++ b/framework/Web/THttpResponse.php @@ -37,13 +37,9 @@ * @package System.Web
* @since 3.0
*/
-class THttpResponse extends TComponent implements IModule, ITextWriter
+class THttpResponse extends TModule implements ITextWriter
{
/**
- * @var string id of this module (response)
- */
- private $_id;
- /**
* @var boolean whether to buffer output
*/
private $_bufferOutput=true;
@@ -84,6 +80,8 @@ class THttpResponse extends TComponent implements IModule, ITextWriter */
public function init($application,$config)
{
+ parent::init($application,$config);
+
if($this->_bufferOutput)
ob_start();
$this->_initialized=true;
@@ -91,23 +89,6 @@ class THttpResponse extends TComponent implements IModule, ITextWriter }
/**
- * @return string id of this module
- */
- public function getID()
- {
- return $this->_id;
- }
-
- /**
- * @param string id of this module
- */
- public function setID($value)
- {
- $this->_id=$value;
- }
-
-
- /**
* @return integer time-to-live for cached session pages in minutes, this has no effect for nocache limiter. Defaults to 180.
*/
public function getCacheExpire()
|