dbTable::drop PHP Method

drop() public method

Marks a field or table for destruction
public drop ( )
    function drop()
    {
        if (isset($this->current_field)) {
            // Drop the current field
            logMsg("Dropping field '{$this->current_field}' from table '{$this->name}'");
            // $this->drop_field[$this->current_field] = $xmls->dict->DropColumnSQL( $this->name, $this->current_field );
            $this->drop_field[$this->current_field] = $this->current_field;
        } else {
            // Drop the current table
            logMsg("Dropping table '{$this->name}'");
            // $this->drop_table = $xmls->dict->DropTableSQL( $this->name );
            $this->drop_table = TRUE;
        }
    }