public function newQuestion($type, $pos = null) { $question = SurveyQuestion::instanceForType($this->survey, $type); $this->addQuestion($question, $pos); return $question; }
public function newQuestion($type, $pos = null) { $question = SurveyQuestion::instanceForType($this->survey, $type); $this->addQuestion($question, $pos); return $question; }