From b4e9f6795206fab6b952f814ccf812677a34c635 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 7 Dec 2005 00:32:29 +0000 Subject: --- framework/Web/UI/TAssetManager.php | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) (limited to 'framework/Web/UI/TAssetManager.php') diff --git a/framework/Web/UI/TAssetManager.php b/framework/Web/UI/TAssetManager.php index 0f96ae90..df189b58 100644 --- a/framework/Web/UI/TAssetManager.php +++ b/framework/Web/UI/TAssetManager.php @@ -41,7 +41,7 @@ * @package System.Web.UI * @since 3.0 */ -class TAssetManager extends TComponent implements IModule +class TAssetManager extends TModule { /** * Default web accessible base path for storing private files @@ -55,10 +55,6 @@ class TAssetManager extends TComponent implements IModule * @var string base URL for accessing the publishing directory. */ private $_baseUrl=null; - /** - * @var string module ID - */ - private $_id='asset'; /** * @var boolean whether to use timestamp checking to ensure files are published with up-to-date versions. */ @@ -80,6 +76,8 @@ class TAssetManager extends TComponent implements IModule */ public function init($application,$config) { + parent::init($application,$config); + $this->_application=$application; if($this->_basePath===null) $this->_basePath=dirname($application->getRequest()->getPhysicalApplicationPath()).'/'.self::DEFAULT_BASEPATH; @@ -90,22 +88,6 @@ class TAssetManager extends TComponent implements IModule $application->getService()->setAssetManager($this); } - /** - * @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 string the root directory storing published asset files */ -- cgit v1.2.3