public function set($key, $value, $expiration = 0) {
    $key = $this->getPrefixKey($key);
    $result = $this->memcache->set($key, $value, null, $expiration);
    $this->result_code = $result ? self::RES_SUCCESS : self::RES_FAILURE;
    return $result;
  }
public function set($key, $value, $expiration = 0) {
    $key = $this->getPrefixKey($key);
    $result = $this->memcache->set($key, $value, null, $expiration);
    $this->result_code = $result ? self::RES_SUCCESS : self::RES_FAILURE;
    return $result;
  }
public function set ( $ key , $ value , $ expiration = 0 ) { $ key = $ this -> getPrefixKey ( $ key ) ; $ result = $ this -> memcache -> set ( $ key , $ value , null , $ expiration ) ; $ this -> result_code = $ result ? self :: RES_SUCCESS : self :: RES_FAILURE ; return $ result ; }
Stores the value on a memcache server under the specified key. The
expiration parameters can be used to control when the value is considered
expired.

@param string $key The key under which to store the value.
@param mixed $value The value to store.
@param int $expiration The expiration time, defaults to 0.

@return true if the method succeeds, false on failure.
Stores the value on a memcache server under the specified key . The expiration parameters can be used to control when the value is considered expired .