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