diff options
Diffstat (limited to 'framework/Web/UI/TAssetManager.php')
-rw-r--r-- | framework/Web/UI/TAssetManager.php | 24 |
1 files changed, 3 insertions, 21 deletions
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
@@ -56,10 +56,6 @@ class TAssetManager extends TComponent implements IModule */
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.
*/
private $_checkTimestamp=false;
@@ -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;
@@ -91,22 +89,6 @@ class TAssetManager 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 string the root directory storing published asset files
*/
public function getBasePath()
|