/** * 将更新的数据保存到缓存中 * @author 欧远宁 */ public function save() { $this->open(); foreach ($this->buf_list as $k => $v) { if ($v[1] !== -99) { $this->mem_cls->set($k, $v[0], $v[1]); } } foreach ($this->del_list as $k => $v) { $this->mem_cls->delete($k); } }
/** * DELETE wrapper for TwitterOAuth */ function delete($url, $parameters = array()) { return $this->TwitterOAuth->delete($url, $parameters); }