src/wcmf/application/controller/CopyController.php
protected function getTargetNode(ObjectId $targetOID) {
    if ($this->targetNode == null) {
      // load parent node
      $persistenceFacade = $this->getPersistenceFacade();
      $targetNode = $persistenceFacade->load($targetOID);
      $this->targetNode = $targetNode;
    }
    return $this->targetNode;
  }
protected function getTargetNode(ObjectId $targetOID) {
    if ($this->targetNode == null) {
      // load parent node
      $persistenceFacade = $this->getPersistenceFacade();
      $targetNode = $persistenceFacade->load($targetOID);
      $this->targetNode = $targetNode;
    }
    return $this->targetNode;
  }
protected function getTargetNode ( ObjectId $ targetOID ) { if ( $ this -> targetNode == null ) { // load parent node $ persistenceFacade = $ this -> getPersistenceFacade ( ) ; $ targetNode = $ persistenceFacade -> load ( $ targetOID ) ; $ this -> targetNode = $ targetNode ; } return $ this -> targetNode ; }
Get the target node from the request parameter targetoid
@param $targetOID The object id of the target node
@return Node instance
Get the target node from the request parameter targetoid