You are here

function qpcache_has in QueryPath 7.3

Same name and namespace in other branches
  1. 6 qpcache/qpcache.module \qpcache_has()
  2. 7.2 qpcache/qpcache.module \qpcache_has()

Check if given key exists.

Return value

Boolean TRUE if the key exists and is not expired, FALSE otherwise.

File

qpcache/qpcache.module, line 52
The main file for qpcache.

Code

function qpcache_has($key) {
  return QPCache::has($key);
}