87 return array(
'answeredQuestions',
'pass',
'nrOfAnsweredQuestions',
'reachedpoints',
88 'maxpoints',
'questioncount',
'workingtime');
98 $this->answeredQuestions = array();
158 $this->pass = $a_pass;
168 array_push($this->answeredQuestions, array(
"id" => $question_id,
"points" => $max_points,
"reached" => $reached_points,
"sequence" => $sequence));
173 if (array_key_exists($index, $this->answeredQuestions))
175 return $this->answeredQuestions[$index];
185 foreach ($this->answeredQuestions as $question)
187 if ($question[
"id"] == $question_id)
197 return count($this->answeredQuestions);