Class NTemplateCacheStorage


NTemplate cache storage.

NObject
   |
   --NFileStorage
      |
      --NTemplateCacheStorage
Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Located: in /Templates/TemplateCacheStorage.php (line 33)
Protected Method Summary
protected string
getCacheFile (string $key)
Returns file name.
protected mixed
readData (array $meta)
Reads cache data from disk.
Methods Inherited From NFileStorage
__construct(), clean(), getCacheFile(), read(), readData(), readMeta(), remove(), write()
Methods Inherited From NObject
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset()
Constant Summary
Constants Inherited From NFileStorage
FILE, HANDLE, META_CALLBACKS, META_DELTA, META_EXPIRE, META_HEADER_LEN, META_ITEMS, META_PRIORITY, META_SERIALIZED, META_TAGS, META_TIME
Variable Summary

Method Details

line 56

getCacheFile

protected string getCacheFile (string $key)

Returns file name.

Input
string $key
Output
string  

line 41

readData

protected mixed readData (array $meta)

Reads cache data from disk.

Input
array $meta
Output
mixed