id = $id; $this->form = $form; $this->name = $name; $this->required = $required; $this->defaultValue = $defaultValue; $this->requiredValue = $requiredValue; $this->autosave = $autosave; } }