Пример #1
0
 public function updateAnswer($input, $answerId)
 {
     parent::updateAnswer($input, $answerId);
     //attempt to match any scores
     foreach ($this->getAnswers() as $answer) {
         $this->matchScore($answer);
     }
 }