function delete() { $this->record->getAdapter()->query("DELETE FROM ?_data WHERE `table`=? AND `id`=?", $this->record->getTable()->getName(true), $this->record->pk()); $this->data = array(); $this->changedFields = array(); $this->blobData = array(); $this->blobFields = array(); $this->deletedFields = array(); $this->isLoaded = true; }