public registerNodeType ( PHPCR\NodeType\NodeTypeDefinitionInterface $ntd, $allowUpdate ) | ||
$ntd | PHPCR\NodeType\NodeTypeDefinitionInterface |
public function registerNodeType(NodeTypeDefinitionInterface $ntd, $allowUpdate)
{
$this->registerNodeTypes(array($ntd), $allowUpdate);
return each($ntd);
}