summaryrefslogtreecommitdiff
path: root/framework/Web/THttpRequest.php
diff options
context:
space:
mode:
authorxue <>2005-12-07 00:32:29 +0000
committerxue <>2005-12-07 00:32:29 +0000
commitb4e9f6795206fab6b952f814ccf812677a34c635 (patch)
treee3be7c6031cd947f233d9e6cbcdec813e391f5ef /framework/Web/THttpRequest.php
parentec46fdc945f591e910051aca0457097825afd34c (diff)
Diffstat (limited to 'framework/Web/THttpRequest.php')
-rw-r--r--framework/Web/THttpRequest.php23
1 files changed, 2 insertions, 21 deletions
diff --git a/framework/Web/THttpRequest.php b/framework/Web/THttpRequest.php
index 80e87d15..0c21a020 100644
--- a/framework/Web/THttpRequest.php
+++ b/framework/Web/THttpRequest.php
@@ -29,7 +29,7 @@
* @package System.Web
* @since 3.0
*/
-class THttpRequest extends TComponent implements IModule
+class THttpRequest extends TModule
{
/**
* GET variable name to store service information
@@ -40,10 +40,6 @@ class THttpRequest extends TComponent implements IModule
*/
private $_initialized=false;
/**
- * @var string module ID
- */
- private $_id;
- /**
* @var string requested service ID
*/
private $_serviceID=null;
@@ -76,6 +72,7 @@ class THttpRequest extends TComponent implements IModule
*/
public function init($application,$config)
{
+ parent::init($application,$config);
// Info about server variables:
// PHP_SELF contains real URI (w/ path info, w/o query string)
// SCRIPT_NAME is the real URI for the requested script (w/o path info and query string)
@@ -125,22 +122,6 @@ class THttpRequest extends TComponent implements IModule
}
/**
- * @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 TUri the request URL
*/
public function getUrl()