diff options
Diffstat (limited to 'framework/Data')
-rw-r--r-- | framework/Data/TCache.php | 6 | ||||
-rw-r--r-- | framework/Data/TMemCache.php | 6 | ||||
-rw-r--r-- | framework/Data/TSqliteCache.php | 6 |
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)
|