]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/cache.php
Add PoCo namespace to notice feeds
[quix0rs-gnu-social.git] / lib / cache.php
index b3ec7534f5f0c92bf1d01a24ead2ead603b4ebed..c09a1dd9f27c75676eb24f634f6c0378547c798d 100644 (file)
@@ -47,6 +47,8 @@ class Cache
     var $_items   = array();
     static $_inst = null;
 
+    const COMPRESSED = 1;
+
     /**
      * Singleton constructor
      *
@@ -133,7 +135,7 @@ class Cache
      *
      * @param string  $key    The key to use for lookups
      * @param string  $value  The value to store
-     * @param integer $flag   Flags to use, mostly ignored
+     * @param integer $flag   Flags to use, may include Cache::COMPRESSED
      * @param integer $expiry Expiry value, mostly ignored
      *
      * @return boolean success flag