
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 199 of file objectcache.php.
| static aliroSingletonObjectCache::getInstance | ( | ) | [static] |
Definition at line 204 of file objectcache.php.
Referenced by cachedSingleton::cacheNow(), cachedSingleton::clearCache(), aliroFullAdminMenu::clearCache(), cachedSingleton::getCachedSingleton(), and aliroFullAdminMenu::show().
00204 { 00205 return is_object(self::$instance) ? self::$instance : (self::$instance = new self::$instance); 00206 }
| aliroSingletonObjectCache::getCachePath | ( | $ | name | ) | [protected] |
Reimplemented from aliroBasicCache.
Definition at line 208 of file objectcache.php.
Referenced by delete().
| aliroSingletonObjectCache::delete | ( | ) |
Definition at line 212 of file objectcache.php.
References getCachePath().
00212 { 00213 $classes = func_get_args(); 00214 foreach ($classes as $class) { 00215 $cachepath = $this->getCachePath($class); 00216 if (file_exists($cachepath)) unlink($cachepath); 00217 } 00218 }
| aliroSingletonObjectCache::deleteByExtension | ( | $ | type | ) |
Definition at line 220 of file objectcache.php.
00220 { 00221 $caches = array ( 00222 'component' => 'aliroComponentHandler', 00223 'module' => 'aliroModuleHandler', 00224 'mambot' => 'aliroMambotHandler' 00225 ); 00226 if (isset($caches[$type])) $this->delete($caches[$type]); 00227 }
aliroSingletonObjectCache::$instance = __CLASS__ [static, protected] |
Definition at line 200 of file objectcache.php.
aliroSingletonObjectCache::$timeout = _ALIRO_OBJECT_CACHE_TIME_LIMIT [protected] |
aliroSingletonObjectCache::$sizelimit = _ALIRO_OBJECT_CACHE_SIZE_LIMIT [protected] |
1.5.5