summaryrefslogtreecommitdiff
path: root/it_cache.class
diff options
context:
space:
mode:
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
*/