isCached
The isCached function is used for testing to see if a given key is cached or not, depending on cache lengths as defined in the Jamroom Config.
bool
isCached
(string $key, string $type, [int $add_lang = true])
-
string
$key: Unique key for storage in cache table - usually md5
-
string
$type: Type of cache - this is needed so the proper cache timer can be checked. Valid values are "ranking", "playlist", "calendar", "browser", "comment", "guestbook" and "misc".
-
int
$add_lang: Optional Timer value that will override timer settings from Jamroom Config.
|