private function addSuffixLink( $pNode ) {
        if ( $this->needSuffixLink > 0 ) {
            $this->nodes[$this->needSuffixLink]->link = $pNode;
        }
        $this->needSuffixLink = $pNode;
    }
private function addSuffixLink( $pNode ) {
        if ( $this->needSuffixLink > 0 ) {
            $this->nodes[$this->needSuffixLink]->link = $pNode;
        }
        $this->needSuffixLink = $pNode;
    }
private function addSuffixLink ( $ pNode ) { if ( $ this -> needSuffixLink > 0 ) { $ this -> nodes [ $ this -> needSuffixLink ] -> link = $ pNode ; } $ this -> needSuffixLink = $ pNode ; }
Adds the given node as target of the
current suffix link

@param integer $pNode Index of target node of the suffix link
Adds the given node as target of the current suffix link