Added Building info to Linework

This commit is contained in:
Frank Schubert
2021-09-16 20:08:24 +02:00
parent 65e7fcca59
commit 16cdf12708
3 changed files with 39 additions and 1 deletions

View File

@@ -3,8 +3,21 @@
class Workflowvalue extends mfBaseModel {
private $item;
private $changer;
public $gps = [];
public $is_changed = false;
protected function afterLoad() {
if(!$this->id) {
return true;
}
if($this->getProperty("item")->type == "gps" && $this->value_string) {
$gps = explode(";", $this->value_string);
$this->gps = $gps;
}
}
public function setValue($value) {
$this->item = $this->getProperty("item");