mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
parent
993b011a28
commit
03b0fca859
1 changed files with 2 additions and 2 deletions
4
classes/cache/CacheFile.class.php
vendored
4
classes/cache/CacheFile.class.php
vendored
|
|
@ -89,7 +89,7 @@ class CacheFile extends CacheBase
|
||||||
*
|
*
|
||||||
* @param string $key Cache key
|
* @param string $key Cache key
|
||||||
* @param int $modified_time Unix time of data modified.
|
* @param int $modified_time Unix time of data modified.
|
||||||
* If stored time is older then modified time, return false.
|
* If stored time is older then modified time, return false.
|
||||||
* @return bool Return true on valid or false on invalid.
|
* @return bool Return true on valid or false on invalid.
|
||||||
*/
|
*/
|
||||||
function isValid($key, $modified_time = 0)
|
function isValid($key, $modified_time = 0)
|
||||||
|
|
@ -115,7 +115,7 @@ class CacheFile extends CacheBase
|
||||||
*
|
*
|
||||||
* @param string $key The $key used to store the value.
|
* @param string $key The $key used to store the value.
|
||||||
* @param int $modified_time Unix time of data modified.
|
* @param int $modified_time Unix time of data modified.
|
||||||
* If stored time is older then modified time, return false.
|
* If stored time is older then modified time, return false.
|
||||||
* @return false|mixed Return false on failure. Return the string associated with the $key on success.
|
* @return false|mixed Return false on failure. Return the string associated with the $key on success.
|
||||||
*/
|
*/
|
||||||
function get($key, $modified_time = 0)
|
function get($key, $modified_time = 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue