public static function EasyRdf_Namespace::reset

Delete the anonymous namespaces and reset the counter to 0

File

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Namespace.php, line 232

Class

EasyRdf_Namespace
A namespace registry and manipulation class.

Code

public static function reset() {
  while (self::$anonymousNamespaceCount > 0) {
    self::delete('ns' . (self::$anonymousNamespaceCount - 1));
    self::$anonymousNamespaceCount--;
  }
}