From b4e9f6795206fab6b952f814ccf812677a34c635 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 7 Dec 2005 00:32:29 +0000 Subject: --- framework/Web/THttpRequest.php | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) (limited to 'framework/Web/THttpRequest.php') 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 @@ -39,10 +39,6 @@ class THttpRequest extends TComponent implements IModule * @var boolean whether the module is initialized */ private $_initialized=false; - /** - * @var string module ID - */ - private $_id; /** * @var string requested service ID */ @@ -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) @@ -124,22 +121,6 @@ class THttpRequest extends TComponent implements IModule return is_array($data)?array_map(array($this,'stripSlashes'),$data):stripslashes($data); } - /** - * @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 */ -- cgit v1.2.3