Added Building info to Linework
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user