protected function getPrefix()
  {
    $prefix = "";

    if(count($this->currSib))
    {
      $last = array_pop($this->currSib);

      foreach($this->currSib as $sibling)
      {
        $prefix .=  ($sibling) ? "| " : "  ";
      }

      $prefix .= ($last) ? "\\-" : "|-";
    }

    return $prefix;
  }
protected function getPrefix()
  {
    $prefix = "";

    if(count($this->currSib))
    {
      $last = array_pop($this->currSib);

      foreach($this->currSib as $sibling)
      {
        $prefix .=  ($sibling) ? "| " : "  ";
      }

      $prefix .= ($last) ? "\\-" : "|-";
    }

    return $prefix;
  }
protected function getPrefix ( ) { $ prefix = "" ; if ( count ( $ this -> currSib ) ) { $ last = array_pop ( $ this -> currSib ) ; foreach ( $ this -> currSib as $ sibling ) { $ prefix .= ( $ sibling ) ? "| " : "  " ; } $ prefix .= ( $ last ) ? "\\-" : "|-" ; } return $ prefix ; }
Returns the ASCII string to display the prefix of the current node.

@return string
Returns the ASCII string to display the prefix of the current node .