src/wcmf/application/controller/CopyController.php
protected function registerCopy(PersistentObject $origNode, PersistentObject $copyNode) {
    // store oid in the registry
    $registry = $this->getLocalSessionValue(self::OBJECT_MAP_VAR);
    $registry[$origNode->getOID()->__toString()] = $copyNode->getOID()->__toString();
    $this->setLocalSessionValue(self::OBJECT_MAP_VAR, $registry);
  }
protected function registerCopy(PersistentObject $origNode, PersistentObject $copyNode) {
    // store oid in the registry
    $registry = $this->getLocalSessionValue(self::OBJECT_MAP_VAR);
    $registry[$origNode->getOID()->__toString()] = $copyNode->getOID()->__toString();
    $this->setLocalSessionValue(self::OBJECT_MAP_VAR, $registry);
  }
protected function registerCopy ( PersistentObject $ origNode , PersistentObject $ copyNode ) { // store oid in the registry $ registry = $ this -> getLocalSessionValue ( self :: OBJECT_MAP_VAR ) ; $ registry [ $ origNode -> getOID ( ) -> __toString ( ) ] = $ copyNode -> getOID ( ) -> __toString ( ) ; $ this -> setLocalSessionValue ( self :: OBJECT_MAP_VAR , $ registry ) ; }
Register a copied node in the session for later reference
@param $origNode The original Node instance
@param $copyNode The copied Node instance
Register a copied node in the session for later reference