public function preDelete(Datastore $oDB, Datastore_Record $oRecord) { $oRecord->deleted = 1; $oRecord->store($oDB); // we do not want the record to continue with the delete // operation! return false; }