src/wcmf/application/controller/TreeController.php
protected function getDisplayText(Node $node) {
    if ($this->isRootTypeNode($node->getOID())) {
      $mapper = $node->getMapper();
      return $mapper->getTypeDisplayName($this->getMessage());
    }
    else {
      return strip_tags(preg_replace("/[\r\n']/", " ", NodeUtil::getDisplayValue($node)));
    }
  }
protected function getDisplayText(Node $node) {
    if ($this->isRootTypeNode($node->getOID())) {
      $mapper = $node->getMapper();
      return $mapper->getTypeDisplayName($this->getMessage());
    }
    else {
      return strip_tags(preg_replace("/[\r\n']/", " ", NodeUtil::getDisplayValue($node)));
    }
  }
protected function getDisplayText ( Node $ node ) { if ( $ this -> isRootTypeNode ( $ node -> getOID ( ) ) ) { $ mapper = $ node -> getMapper ( ) ; return $ mapper -> getTypeDisplayName ( $ this -> getMessage ( ) ) ; } else { return strip_tags ( preg_replace ( "/[\r\n']/" , " " , NodeUtil :: getDisplayValue ( $ node ) ) ) ; } }
Get the display text for a Node
@param $node Node to display
@return The display text.
Get the display text for a Node