/** * Clear the object cache for the currently edited item. */ function edit_cache_clear($item, $op = 'edit') { ctools_include('object-cache'); $name = $this->edit_cache_get_key($item, $op); return ctools_object_cache_clear('ctui_' . $this->plugin['name'], $name); }
public function clear() { ctools_include('object-cache'); unset($_SESSION[$this->obj][$this->key]); return ctools_object_cache_clear($this->obj, $this->key); }