Exemplo n.º 1
0
 /**
  * Creates a valid unique node type name which can be used in the node types configuration
  *
  * @param string $namespace
  * @return string
  */
 public function getValidNodeTypeName($namespace)
 {
     return $namespace . ':' . Utility::renderValidName($this->uuid);
 }
Exemplo n.º 2
0
 /**
  * Creates a valid unique property name which can be used in the node types configuration
  *
  * @param string $prefix
  * @return string
  */
 public function getValidPropertyName($prefix)
 {
     return $prefix . Utility::renderValidName($this->uuid);
 }