src/wcmf/application/controller/CopyController.php
protected function getCopy(ObjectId $origOID) {
    $copyOID = $this->getCopyOID($origOID);
    if ($copyOID != null) {
      $persistenceFacade = $this->getPersistenceFacade();
      $nodeCopy = $persistenceFacade->load($copyOID);
      return $nodeCopy;
    }
    else {
      return null;
    }
  }
protected function getCopy(ObjectId $origOID) {
    $copyOID = $this->getCopyOID($origOID);
    if ($copyOID != null) {
      $persistenceFacade = $this->getPersistenceFacade();
      $nodeCopy = $persistenceFacade->load($copyOID);
      return $nodeCopy;
    }
    else {
      return null;
    }
  }
protected function getCopy ( ObjectId $ origOID ) { $ copyOID = $ this -> getCopyOID ( $ origOID ) ; if ( $ copyOID != null ) { $ persistenceFacade = $ this -> getPersistenceFacade ( ) ; $ nodeCopy = $ persistenceFacade -> load ( $ copyOID ) ; return $ nodeCopy ; } else { return null ; } }
Get the copied node for a node id
@param $origOID The object id of the original node
@return Copied Node or null, if it does not exist already
Get the copied node for a node id