getPropertiesForStoreDeletedNode() public method

This method is only meant for the transport to be able to still build a store request for afterwards deleted nodes to support the operationslog.
See also: Jackalope\Transport\WritingInterface::storeNodes
public getPropertiesForStoreDeletedNode ( ) : Property[]
return Property[] with just the jcr:primaryType property in it
Esempio n. 1
0
 private function phpcrNodeToNode(\Jackalope\Node $node)
 {
     if ($node->isDeleted()) {
         $properties = $node->getPropertiesForStoreDeletedNode();
     } else {
         $this->nodeProcessor->process($node);
         $properties = $node->getProperties();
     }
     $node = new Node();
     $node->fromPhpcrProperties($properties);
     return $node;
 }