summaryrefslogtreecommitdiff
path: root/framework/Data
diff options
context:
space:
mode:
authorxue <>2006-03-10 01:06:13 +0000
committerxue <>2006-03-10 01:06:13 +0000
commit40ec9272f22208abf759aa2a384cbbc070488ea4 (patch)
tree3b49a2fe3c7334fd62b7bbc2ee746de77aa8e458 /framework/Data
parentbd7df3978088a596945ce45bbe4537f45407329d (diff)
Fixed SF #1432624
Diffstat (limited to 'framework/Data')
-rw-r--r--framework/Data/TCache.php6
-rw-r--r--framework/Data/TMemCache.php6
-rw-r--r--framework/Data/TSqliteCache.php6
3 files changed, 9 insertions, 9 deletions
diff --git a/framework/Data/TCache.php b/framework/Data/TCache.php
index 64729b46..b598801d 100644
--- a/framework/Data/TCache.php
+++ b/framework/Data/TCache.php
@@ -27,7 +27,7 @@ interface 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($id,$value,$expire=0);
@@ -39,7 +39,7 @@ interface 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($id,$value,$expire=0);
@@ -51,7 +51,7 @@ interface 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($id,$value,$expire=0);
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)
diff --git a/framework/Data/TSqliteCache.php b/framework/Data/TSqliteCache.php
index 6d9a44c5..1654d577 100644
--- a/framework/Data/TSqliteCache.php
+++ b/framework/Data/TSqliteCache.php
@@ -184,7 +184,7 @@ class TSqliteCache 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)
@@ -205,7 +205,7 @@ class TSqliteCache 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,$expire=0)
@@ -226,7 +226,7 @@ class TSqliteCache 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,$expire=0)