Contract WIP

This commit is contained in:
Frank Schubert
2022-06-13 17:27:08 +02:00
parent 121312cdc3
commit e5233568a3
5 changed files with 386 additions and 32 deletions

View File

@@ -54,9 +54,6 @@ class Address extends mfBaseModel {
$this->phoneparts = [$cc,$num];
return $this->phoneparts;
}
public function getCompanyOrName($returnParent = false) {
@@ -121,19 +118,6 @@ class Address extends mfBaseModel {
return $spin;
}
public function toArray() {
if(!$this->id) {
return [];
}
$a = [];
$a['id'] = $this->id;
foreach($this->data as $key => $value) {
$a[$key] = $value;
}
return $a;
}
public function getProperty($name) {
if($this->$name == null) {