NetworkPort::cleanDBonPurge PHP Method

cleanDBonPurge() public method

public cleanDBonPurge ( )
    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());
    }