importXML() public static méthode

Import the xml document from the stream into the repository
See also: SessionInterface::importXML
public static importXML ( PHPCR\NodeInterface $parentNode, PHPCR\NamespaceRegistryInterface $ns, string $uri, integer $uuidBehavior )
$parentNode PHPCR\NodeInterface as in importXML
$ns PHPCR\NamespaceRegistryInterface as in importXML
$uri string as in importXML
$uuidBehavior integer as in importXML
Exemple #1
0
 /**
  * {@inheritDoc}
  *
  * @api
  */
 public function importXML($parentAbsPath, $uri, $uuidBehavior)
 {
     ImportExport::importXML($this->getNode($parentAbsPath), $this->workspace->getNamespaceRegistry(), $uri, $uuidBehavior);
 }