Jamroom Logo Jamroom 5 Core
is now Open Source!
Follow Jamroom on Twitter!


getRealIp Function Index jmLogger
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.

  • return: Returns True/False on success/fail
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.
 Comments
You must be logged in to post a comment
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom 5
Jamroom 5 Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2024 The Jamroom Network