コード例 #1
0
 /**
  * __construct function.
  * 
  * @access public
  * @param mixed $redisServer
  * @param mixed $redisPort. (default: 6379)
  * @return void
  */
 public function __construct()
 {
     try {
         parent::__construct(array('host' => self::REDIS_HOST, 'port' => self::REDIS_PORT, 'database' => self::REDIS_DB, 'password' => self::REDIS_PASSWORD));
     } catch (Exception $e) {
         $this->redisError = $e->getMessage() . '- Initial Conection';
     }
 }