You are here

public static function Redis_Client::hasClient in Redis 7

Same name and namespace in other branches
  1. 7.2 lib/Redis/Client.php \Redis_Client::hasClient()
4 calls to Redis_Client::hasClient()
phpredis.cache.inc in ./phpredis.cache.inc
Placeholder file for using the PhpRedis cache backend. This file will also ensure the client handling API is fully loaded for lock backend.
predis.cache.inc in ./predis.cache.inc
Placeholder file for using the Predis cache backend. This file will also ensure the client handling API is fully loaded for lock backend.
redis_help in ./redis.module
Implements hook_help().
redis_requirements in ./redis.install
Implements hook_requirements().

File

lib/Redis/Client.php, line 38

Class

Redis_Client
Common code and client singleton, for all Redis clients.

Code

public static function hasClient() {
  return isset(self::$_client);
}