/** * leaveComposite * * @return boolean */ public function leaveComposite(KVDthes_Term $node) { if ($node->hasNTRelations()) { $this->depth--; $this->result .= $this->pad() . $this->renderer->getCompositeEnd() . "\n"; $this->depth--; } $this->result .= $this->pad() . $this->renderer->getVisitEnd() . "\n"; return true; }
/** * leaveComposite * * @return boolean */ public function leaveComposite(KVDthes_Term $node) { if ($node->hasNTRelations()) { $this->depth--; $this->result .= $this->pad() . "</ul>\n"; $this->depth--; } $this->result .= $this->pad() . "</li>\n"; return true; }