/** * Reset all global caches associated with DataObject. */ public static function reset() { DBClassName::clear_classname_cache(); self::$_cache_has_own_table = array(); self::$_cache_get_one = array(); self::$_cache_composite_fields = array(); self::$_cache_database_fields = array(); self::$_cache_get_class_ancestry = array(); self::$_cache_field_labels = array(); }