Lines Matching refs:normalize_key
6 protected static function normalize_key($key){ function in memcache_fakecache
47 …_exists(static::$cache_dir.static::normalize_key($key)) && @file_put_contents(static::$cache_dir.s…
48 if ($ttl > 0) file_put_contents(static::$ttl_dir.static::normalize_key($key),time()+$ttl);
49 else @unlink(static::$ttl_dir.static::normalize_key($key));
56 …if ($result = (@file_put_contents(static::$cache_dir.static::normalize_key($key),gzcompress(serial…
57 if ($ttl > 0) file_put_contents(static::$ttl_dir.static::normalize_key($key),time()+$ttl);
58 else @unlink(static::$ttl_dir.static::normalize_key($key));
65 return file_exists(static::$cache_dir.static::normalize_key($key));
70 @unlink(static::$ttl_dir.static::normalize_key($key));
71 return @unlink(static::$cache_dir.static::normalize_key($key));
78 …file_exists(static::$cache_dir.static::normalize_key($key)) // file exists? (if not, abort…
79 …&& ($cnt = file_get_contents(static::$cache_dir.static::normalize_key($key))) !== false // file c…