
Public Member Functions | |
| delete () | |
| deleteByExtension ($type) | |
Static Public Member Functions | |
| static | getInstance () |
Protected Member Functions | |
| getCachePath ($name) | |
Protected Attributes | |
| $timeout = _ALIRO_OBJECT_CACHE_TIME_LIMIT | |
| $sizelimit = _ALIRO_OBJECT_CACHE_SIZE_LIMIT | |
Static Protected Attributes | |
| static | $instance = __CLASS__ |
Definition at line 197 of file objectcache.php.
| static aliroSingletonObjectCache::getInstance | ( | ) | [static] |
Definition at line 202 of file objectcache.php.
Referenced by cachedSingleton::cacheNow(), cachedSingleton::clearCache(), aliroFullAdminMenu::clearCache(), cachedSingleton::getCachedSingleton(), aliroSEF::saveCache(), and aliroFullAdminMenu::show().
00202 { 00203 return is_object(self::$instance) ? self::$instance : (self::$instance = new self::$instance); 00204 }
| aliroSingletonObjectCache::getCachePath | ( | $ | name | ) | [protected] |
Reimplemented from aliroBasicCache.
Definition at line 206 of file objectcache.php.
Referenced by delete().
| aliroSingletonObjectCache::delete | ( | ) |
Definition at line 210 of file objectcache.php.
References getCachePath().
00210 { 00211 $classes = func_get_args(); 00212 foreach ($classes as $class) { 00213 $cachepath = $this->getCachePath($class); 00214 if (file_exists($cachepath)) unlink($cachepath); 00215 } 00216 }
| aliroSingletonObjectCache::deleteByExtension | ( | $ | type | ) |
Definition at line 218 of file objectcache.php.
00218 { 00219 $caches = array ( 00220 'component' => 'aliroComponentHandler', 00221 'module' => 'aliroModuleHandler', 00222 'mambot' => 'aliroMambotHandler' 00223 ); 00224 if (isset($caches[$type])) $this->delete($caches[$type]); 00225 }
aliroSingletonObjectCache::$instance = __CLASS__ [static, protected] |
Definition at line 198 of file objectcache.php.
aliroSingletonObjectCache::$timeout = _ALIRO_OBJECT_CACHE_TIME_LIMIT [protected] |
aliroSingletonObjectCache::$sizelimit = _ALIRO_OBJECT_CACHE_SIZE_LIMIT [protected] |
1.5.5