Started work on Address

This commit is contained in:
Frank Schubert
2021-06-15 22:16:57 +02:00
parent 27a4ce998c
commit badcdcb329
26 changed files with 637 additions and 2180 deletions

View File

@@ -100,6 +100,12 @@ class mfBaseModel {
return false;
}
public function update(Array $data) {
foreach($data as $key => $value) {
$this->$key = $value;
}
}
public function save() {
if(method_exists($this, "beforeSave")) {
$this->beforeSave();