/**
  * leaveComposite 
  * 
  * @return boolean
  */
 public function leaveComposite(KVDthes_Term $node)
 {
     if ($node->hasBTRelations()) {
         $this->depth--;
         $this->result .= $this->pad() . "</ul>\n";
         $this->depth--;
     }
     $this->result .= $this->pad() . "</li>\n";
     return true;
 }
예제 #2
0
 public function testHasBTRelations()
 {
     $this->object->setLoadState(KVDthes_Term::LS_REL);
     $this->assertFalse($this->object->hasBTRelations());
     $this->assertEquals($this->object->hasBTRelations(), $this->object->hasBT());
 }