Exemplo n.º 1
0
 /**
  * Retrieve a binary/string object from Riak.
  * @param  string $key - Name of the key.
  * @param  int    $r   - R-Value of the request (defaults to bucket's R)
  * @return Object
  */
 public function getBinary($key, $r = NULL)
 {
     $obj = new Object($this->client, $this, $key);
     $obj->jsonize = FALSE;
     $r = $this->getR($r);
     return $obj->reload($r);
 }