From cb9ad614fe9e811a1565878ffbfb37803fa30486 Mon Sep 17 00:00:00 2001
From: xue <>
Date: Fri, 11 Nov 2005 21:03:34 +0000
Subject: Changed getPropertyByPath and setPropertyByPath to getSubProperty and
setSubProperty, respectively.
---
framework/Web/TCacheManager.php | 116 ----------------------------------------
1 file changed, 116 deletions(-)
delete mode 100644 framework/Web/TCacheManager.php
(limited to 'framework/Web/TCacheManager.php')
diff --git a/framework/Web/TCacheManager.php b/framework/Web/TCacheManager.php
deleted file mode 100644
index f1c9edd8..00000000
--- a/framework/Web/TCacheManager.php
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- // need to investigate the security of memory cache
- */
-
-/**
-
-*/
-
-/**
-
-*/
-
-
-class TAuthencator extends TComponent
-{
-}
-
-class TAuthorizer extends TComponent
-{
-}
-
-$cm->generateUniqueID('button:',$id)
-$cm->saveValue('template:'.$tmpFile,$template);
-$cm->saveValue('application:ID',$appID);
-$cm->saveValue('application:hashkey',$key);
-
-class TTemplateManager extends TComponent implements IModule
-{
-}
-
-class TAssetManager extends TComponent implements IModule
-{
- private $_pubDir=null;
- private $_pubUrl=null;
-
- public function init($context)
- {
- if(is_null($this->_pubDir))
- throw new TCongiruationException('cache_public_location_required');
- if(is_null($this->_pubUrl))
- throw new TCongiruationException('cache_public_url_required');
- }
-
- public function getPublicLocation()
- {
- return $this->_pubDir;
- }
-
- public function setPublicLocation($value)
- {
- if(is_dir($value))
- $this->_pubDir=realpath($value);
- else
- throw new TInvalidDataValueException('cache_public_location_invalid');
- }
-
- public function getPublicUrl()
- {
- return $this->_pubUrl;
- }
-
- public function setPublicUrl($value)
- {
- $this->_pubUrl=rtrim($value,'/');
- }
-
- public function publishLocation($path,$forceOverwrite=false)
- {
- $name=basename($path);
- $prefix=md5(dirname($path));
- }
-
- public function publishFile($path,$forceOverwrite=false)
- {
- if(($fullpath=realpath($path))!==false)
- {
- return $this->_pubUrl.'/'.$fullpath;
- }
- else
- throw new TInvalidDataValueException('cachemanager_path_unpublishable');
- }
-
- public function unpublishPath($path)
- {
- }
-}
-
-class TMemcache extends TComponent
-{
-}
-
-class TSqliteCache extends TComponent
-{
-}
-?>
\ No newline at end of file
--
cgit v1.2.3