/** * Clears all of the schema info out of the object and, if set, the fCache object * * @return void */ public function clearCache() { $this->schema_info = array(); if ($this->cache) { $this->cache->delete($this->makeCachePrefix() . 'schema_info'); } if ($this->type == 'mssql') { $this->determineCharacterSet(); } if ($this->translation) { $this->translation->clearCache(); } }
/** * Clears all of the schema info out of the object and, if set, the fCache object * * @internal * * @return void */ public function clearCache() { $this->column_info = array(); $this->databases = NULL; $this->keys = array(); $this->merged_column_info = array(); $this->merged_keys = array(); $this->relationships = array(); $this->tables = NULL; if ($this->cache) { $prefix = $this->makeCachePrefix(); $this->cache->delete($prefix . 'column_info'); $this->cache->delete($prefix . 'databases'); $this->cache->delete($prefix . 'keys'); $this->cache->delete($prefix . 'merged_column_info'); $this->cache->delete($prefix . 'merged_keys'); $this->cache->delete($prefix . 'relationships'); $this->cache->delete($prefix . 'tables'); } }
/** * Callback to destroy a session * * @internal * * @param string $id The session to destroy * @return boolean If the operation succeeded */ public static function destroyCache($id) { return self::$backend->delete(self::$key_prefix . $id); }
/** * Clears all of the schema info out of the object and, if set, the fCache object * * @return void */ public function clearCache() { $this->schema_info = array(); if ($this->cache) { $prefix = $this->makeCachePrefix(); $this->cache->delete($prefix . 'schema_info'); } }