/**
  * @param string $key
  * @param mixed $var
  */
 public function append($key, $var)
 {
     try {
         $meta = $this->bucket->append($key, $var);
         KalturaLog::debug("key [{$key}] var [" . print_r($var, true) . "] meta [" . print_r($meta, true) . "]");
         return $meta->value;
     } catch (CouchbaseException $e) {
     }
     return false;
 }
Esempio n. 2
0
 /**
  * @param string $key
  * @param mixed $var
  */
 public function append($key, $var)
 {
     $meta = $this->bucket->append($key, $var);
     if ($this->debug) {
         KalturaLog::debug("key [{$key}] var [" . print_r($var, true) . "] meta [" . print_r($meta, true) . "]");
     }
     return $meta->value;
 }