/** * Undelete from the cache * * Unelete a variable from the cache so it is usuable and * retrievable again by $this->get($name) * * @param string $name The name of the cache variable to revive. * * @return boolean Depending on the success of the operation, * either true or false. */ public function undelete($name) { return apc_undelete($name); }
/** * Delete key from cache(s). * * @return void **/ public static function deleteCached($key) { self::log('cache-delete', $key); $hash = self::getHash(); apc_undelete($hash . '-' . $key); }