예제 #1
0
 function cleanDBonPurge()
 {
     $instantiation = $this->getInstantiation();
     if ($instantiation !== false) {
         $instantiation->cleanDBonItemDelete($this->getType(), $this->getID());
         unset($instantiation);
     }
     $nn = new NetworkPort_NetworkPort();
     $nn->cleanDBonItemDelete($this->getType(), $this->getID());
     $nv = new NetworkPort_Vlan();
     $nv->cleanDBonItemDelete($this->getType(), $this->getID());
     $names = new NetworkName();
     $names->cleanDBonItemDelete($this->getType(), $this->getID());
 }