summaryrefslogtreecommitdiff
path: root/it_cache.class
diff options
context:
space:
mode:
authorUrban Müller2011-11-30 12:53:52 +0000
committerUrban Müller2011-11-30 12:53:52 +0000
commit41c247230916c505eae1a8c505fbcb72d2a047c3 (patch)
treeb1611058e02002629689d89801327c3c5ffeec3d /it_cache.class
parent6f0cd1a4a442f9c27dd07f0e956f5253f378465d (diff)
downloaditools-41c247230916c505eae1a8c505fbcb72d2a047c3.tar.gz
itools-41c247230916c505eae1a8c505fbcb72d2a047c3.tar.bz2
itools-41c247230916c505eae1a8c505fbcb72d2a047c3.zip
docs
Diffstat (limited to 'it_cache.class')
-rw-r--r--it_cache.class2
1 files changed, 2 insertions, 0 deletions
diff --git a/it_cache.class b/it_cache.class
index 20e3f43..dbd5580 100644
--- a/it_cache.class
+++ b/it_cache.class
@@ -41,6 +41,7 @@ static function _defaults($p)
/**
* Get value for specific key from cache. Can be mixed value but no objects.
* @param $key Key to get value for
+ * @param $p['distributed'] Use distributed memcache [false]
* @return Value for given key or null
*/
static function get($key, $p = array())
@@ -61,6 +62,7 @@ static function get($key, $p = array())
* Put value for specific key into cache. Can be mixed value but no objects.
* @param $key Key to put value with
* @param $value Value to put (mixed but no objects allowed)
+ * @param $p['distributed'] Use distributed memcache [false]
* @param $p['ttl'] Time to live for this key/value-pair
* @return Boolean if value was put into cache
*/