public function __construct($id = null, $type = null, $CriterionType = null) { parent::__construct(); $this->id = $id; $this->type = $type; $this->CriterionType = $CriterionType; }