コード例 #1
0
 protected function constructAttempt()
 {
     return array_merge(parent::constructAttempt(), ['attempt_score_raw' => 1, 'attempt_score_min' => 0, 'attempt_score_max' => 5, 'attempt_score_scaled' => 0.2, 'attempt_success' => false, 'attempt_completed' => true, 'attempt_response' => 'test response']);
 }
コード例 #2
0
 protected function constructAttempt()
 {
     return array_merge(parent::constructAttempt(), ['attempt_result' => 1, 'attempt_completed' => true, 'attempt_duration' => 'P01DT']);
 }