Question = $param["Question"]; } if (array_key_exists("Answers",$param) and $param["Answers"] !== null) { $this->Answers = $param["Answers"]; } } }