public function add($key, $var = null, $flag = 0, $exptime = 0)
 {
     if ($this->logging) {
         $start = microtime(true);
         $name = 'add';
         $arguments = array($key, $var, $flag, $exptime);
     }
     list($_key, $_var, $_flag, $_exptime) = array($key, $var, $flag, $exptime);
     $result = parent::add($_key, $_var, $_flag, $_exptime);
     list($key, $var, $flag, $exptime) = array($_key, $_var, $_flag, $_exptime);
     if ($this->logging) {
         $time = microtime(true) - $start;
         $this->calls[] = (object) compact('start', 'time', 'name', 'arguments', 'result');
     }
     return $result;
 }
 /**
  * add
  *
  * Adds a key/value to the memcache server if one isn't already set with
  * that key
  *
  * @author eloy
  * @access public
  *
  * @param   string   $key     Key to set value as
  * @param   mixed    $value   Value to set
  * @param   integer  $exp     (optional) Experiation time
  *
  * @return boolean: true if set successfully.
  */
 public function add($key, $value, $exptime = 0)
 {
     return parent::add($key, $value, self::FLAGS, $exptime);
 }