Implemented allow_unit_update in preorder

This commit is contained in:
Frank Schubert
2022-12-12 18:46:22 +01:00
parent 76cfa8e5fd
commit 5ce0203a0b
2 changed files with 118 additions and 11 deletions
+12
View File
@@ -223,6 +223,18 @@ class mfBaseModel {
return "update";
}
}
public function startTransaction() {
$this->db->query("START TRANSACTION");
}
public function commitTransaction() {
$this->db->query("COMMIT");
}
public function rollbackTransaction() {
$this->db->query("ROLLBACK");
}
// generic functions for entity-classes
public function toArray() {