diff options
author | xue <> | 2006-03-10 01:06:13 +0000 |
---|---|---|
committer | xue <> | 2006-03-10 01:06:13 +0000 |
commit | 40ec9272f22208abf759aa2a384cbbc070488ea4 (patch) | |
tree | 3b49a2fe3c7334fd62b7bbc2ee746de77aa8e458 /framework/Data/TMemCache.php | |
parent | bd7df3978088a596945ce45bbe4537f45407329d (diff) |
Fixed SF #1432624
Diffstat (limited to 'framework/Data/TMemCache.php')
-rw-r--r-- | framework/Data/TMemCache.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/Data/TMemCache.php b/framework/Data/TMemCache.php index 4a8527c8..c71de1de 100644 --- a/framework/Data/TMemCache.php +++ b/framework/Data/TMemCache.php @@ -180,7 +180,7 @@ class TMemCache extends TModule implements ICache * @param integer the expiration time of the value,
* 0 means never expire,
* a number less or equal than 60*60*24*30 means the number of seconds that the value will remain valid.
- * a number greater than 60 means a UNIX timestamp after which the value will expire.
+ * a number greater than 60*60*24*30 means a UNIX timestamp after which the value will expire.
* @return boolean true if the value is successfully stored into cache, false otherwise
*/
public function set($key,$value,$expire=0)
@@ -196,7 +196,7 @@ class TMemCache extends TModule implements ICache * @param integer the expiration time of the value,
* 0 means never expire,
* a number less or equal than 60*60*24*30 means the number of seconds that the value will remain valid.
- * a number greater than 60 means a UNIX timestamp after which the value will expire.
+ * a number greater than 60*60*24*30 means a UNIX timestamp after which the value will expire.
* @return boolean true if the value is successfully stored into cache, false otherwise
*/
public function add($key,$value,$expiry=0)
@@ -212,7 +212,7 @@ class TMemCache extends TModule implements ICache * @param integer the expiration time of the value,
* 0 means never expire,
* a number less or equal than 60*60*24*30 means the number of seconds that the value will remain valid.
- * a number greater than 60 means a UNIX timestamp after which the value will expire.
+ * a number greater than 60*60*24*30 means a UNIX timestamp after which the value will expire.
* @return boolean true if the value is successfully stored into cache, false otherwise
*/
public function replace($key,$value,$expiry=0)
|