You are here

public static function EasyRdf_Namespace::reset in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Namespace.php \EasyRdf_Namespace::reset()

Delete the anonymous namespaces and reset the counter to 0

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Namespace.php, line 287

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--;
  }
}