Id=0; $this->HideLabel=false; $this->Label=''; $this->Description=null; $this->Required=false; $this->Tooltip=null; $this->IsFieldContainer=false; $this->Formulas=[]; $this->Conditions=[]; $this->Behaviors=[]; $this->ClassName=''; $this->AS=null; $this->AddType("Description","Object"); $this->AddType("Tooltip","Object"); $this->AddType("Formulas","FormulaOptionsDTO"); $this->AddType("Conditions","ConditionBaseOptionsDTO"); $this->AddType("Behaviors","Object"); $this->AddType("AS","Object"); } public function GetValueFromLoader($property,$value){ switch($property){ case "Conditions": return \rednaoeasycalculationforms\DTO\core\Factories\ConditionFactory::GetConditions($value); default: return parent::GetValueFromLoader($property, $value); } } }