Implements the uuid behavior interface to import the constants.
Author: David Buchmann (david@liip.ch)
Inheritance: implements PHPCR\ImportUUIDBehaviorInterface
Example #1
0
 /**
  * {@inheritDoc}
  *
  * @api
  */
 public function importXML($parentAbsPath, $uri, $uuidBehavior)
 {
     ImportExport::importXML($this->getSession()->getNode($parentAbsPath), $this->getNamespaceRegistry(), $uri, $uuidBehavior);
 }
Example #2
0
 /**
  * {@inheritDoc}
  *
  * @api
  */
 public function exportDocumentView($absPath, $stream, $skipBinary, $noRecurse)
 {
     ImportExport::exportDocumentView($this->getNode($absPath), $this->workspace->getNamespaceRegistry(), $stream, $skipBinary, $noRecurse);
 }
 /**
  * @dataProvider escapeDataProvider
  */
 public function testUnescapeXmlName($expectedOutput, $input)
 {
     $this->assertEquals($expectedOutput, ImportExport::unescapeXmlName($input, array()));
 }