----------------------------------------
Recherche de 'answers' dans 'C:\moodle\moodle\site\moodle_head\question\format.php' :
C:\moodle\moodle\site\moodle_head\question\format.php(256): $answersvalid = true; // in case they are!
C:\moodle\moodle\site\moodle_head\question\format.php(260): $answersvalid = false;
C:\moodle\moodle\site\moodle_head\question\format.php(266): if (!$answersvalid) {
C:\moodle\moodle\site\moodle_head\question\format.php(321): // Now to save all the answers and type-specific options
C:\moodle\moodle\site\moodle_head\question\format.php(488): static $defaultshuffleanswers = null;
C:\moodle\moodle\site\moodle_head\question\format.php(489): if (is_null($defaultshuffleanswers)) {
C:\moodle\moodle\site\moodle_head\question\format.php(490): $defaultshuffleanswers = get_config('quiz', 'shuffleanswers');
C:\moodle\moodle\site\moodle_head\question\format.php(494): $question->shuffleanswers = $defaultshuffleanswers;
Trouvé 'answers' 6 fois.
----------------------------------------
Recherche de 'answers' dans 'C:\moodle\moodle\site\moodle_head\question\backuplib.php' :
C:\moodle\moodle\site\moodle_head\question\backuplib.php(55): // question_answers |--(CL,pk->id,fk->question)
C:\moodle\moodle\site\moodle_head\question\backuplib.php(226): //This function backups the answers data in some question types
C:\moodle\moodle\site\moodle_head\question\backuplib.php(228): function question_backup_answers($bf,$preferences,$question, $level = 6) {
C:\moodle\moodle\site\moodle_head\question\backuplib.php(233): $answers = $DB->get_records("question_answers", array("question"=>$question), "id");
C:\moodle\moodle\site\moodle_head\question\backuplib.php(234): //If there are answers
C:\moodle\moodle\site\moodle_head\question\backuplib.php(235): if ($answers) {
C:\moodle\moodle\site\moodle_head\question\backuplib.php(236): $status = $status && fwrite ($bf,start_tag("ANSWERS",$level,true));
C:\moodle\moodle\site\moodle_head\question\backuplib.php(238): foreach ($answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\backuplib.php(247): $status = $status && fwrite ($bf,end_tag("ANSWERS",$level,true));
Trouvé 'answers' 10 fois.
----------------------------------------
Recherche de 'answers' dans 'C:\moodle\moodle\site\moodle_head\question\restorelib.php' :
C:\moodle\moodle\site\moodle_head\question\restorelib.php(63): // question_answers |--(CL,pk->id,fk->question)
C:\moodle\moodle\site\moodle_head\question\restorelib.php(451): //Now, restore every question_answers in this question
C:\moodle\moodle\site\moodle_head\question\restorelib.php(452): $status = question_restore_answers($oldid,$newid,$que_info,$restore);
C:\moodle\moodle\site\moodle_head\question\restorelib.php(461): //We are NOT creating the question, but we need to know every question_answers
C:\moodle\moodle\site\moodle_head\question\restorelib.php(464): $status = question_restore_map_answers($oldid,$newid,$que_info,$restore);
C:\moodle\moodle\site\moodle_head\question\restorelib.php(496): function question_restore_answers ($old_question_id,$new_question_id,$info,$restore) {
C:\moodle\moodle\site\moodle_head\question\restorelib.php(502): //Get the answers array
C:\moodle\moodle\site\moodle_head\question\restorelib.php(503): if (isset($info['#']['ANSWERS']['0']['#']['ANSWER'])) {
C:\moodle\moodle\site\moodle_head\question\restorelib.php(504): $answers = $info['#']['ANSWERS']['0']['#']['ANSWER'];
C:\moodle\moodle\site\moodle_head\question\restorelib.php(506): //Iterate over answers
C:\moodle\moodle\site\moodle_head\question\restorelib.php(507): for($i = 0; $i < sizeof($answers); $i++) {
C:\moodle\moodle\site\moodle_head\question\restorelib.php(508): $ans_info = $answers[$i];
C:\moodle\moodle\site\moodle_head\question\restorelib.php(516): //Now, build the question_answers record structure
C:\moodle\moodle\site\moodle_head\question\restorelib.php(523): // Update 'match everything' answers for numerical questions coming from old backup files.
C:\moodle\moodle\site\moodle_head\question\restorelib.php(528): //The structure is equal to the db, so insert the question_answers
C:\moodle\moodle\site\moodle_head\question\restorelib.php(529): $newid = $DB->insert_record ("question_answers",$answer);
C:\moodle\moodle\site\moodle_head\question\restorelib.php(544): backup_putid($restore->backup_unique_code,"question_answers",$oldid,
C:\moodle\moodle\site\moodle_head\question\restorelib.php(555): function question_restore_map_answers ($old_question_id,$new_question_id,$info,$restore) {
C:\moodle\moodle\site\moodle_head\question\restorelib.php(560): if (!isset($info['#']['ANSWERS'])) { // No answers in this question (eg random)
C:\moodle\moodle\site\moodle_head\question\restorelib.php(564): //Get the answers array
C:\moodle\moodle\site\moodle_head\question\restorelib.php(565): $answers = $info['#']['ANSWERS']['0']['#']['ANSWER'];
C:\moodle\moodle\site\moodle_head\question\restorelib.php(567): //Iterate over answers
C:\moodle\moodle\site\moodle_head\question\restorelib.php(568): for($i = 0; $i < sizeof($answers); $i++) {
C:\moodle\moodle\site\moodle_head\question\restorelib.php(569): $ans_info = $answers[$i];
C:\moodle\moodle\site\moodle_head\question\restorelib.php(577): //Now, build the question_answers record structure
C:\moodle\moodle\site\moodle_head\question\restorelib.php(584): //answers must exist too.
C:\moodle\moodle\site\moodle_head\question\restorelib.php(589): $db_answer = $DB->get_record ("question_answers", array("question"=>$new_question_id, "answer"=>$answer->answer));
C:\moodle\moodle\site\moodle_head\question\restorelib.php(604): backup_putid($restore->backup_unique_code,"question_answers",$oldid, $db_answer->id);
C:\moodle\moodle\site\moodle_head\question\restorelib.php(928): $qtypeswithhtmlanswers = array();
C:\moodle\moodle\site\moodle_head\question\restorelib.php(931): $qtypeswithhtmlanswers[$qtype] = $qtypeclass->has_html_answers();
C:\moodle\moodle\site\moodle_head\question\restorelib.php(983): // Decode links in answers.
C:\moodle\moodle\site\moodle_head\question\restorelib.php(984): if ($answers = $DB->get_records_sql("SELECT qa.id, qa.answer, qa.feedback, q.qtype
C:\moodle\moodle\site\moodle_head\question\restorelib.php(985): FROM {question_answers} qa, {question} q, {question_categories} qc
C:\moodle\moodle\site\moodle_head\question\restorelib.php(990): foreach ($answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\restorelib.php(992): if ($qtypeswithhtmlanswers[$answer->qtype]) {
C:\moodle\moodle\site\moodle_head\question\restorelib.php(1001): if (!$DB->update_record('question_answers', $answer)) {
Trouvé 'answers' 40 fois.
----------------------------------------
Recherche de 'answers' dans 'C:\moodle\moodle\site\moodle_head\question\format\blackboard\format.php' :
C:\moodle\moodle\site\moodle_head\question\format\blackboard\format.php(200): // Process Multiple Choice Questions With Multiple Answers
C:\moodle\moodle\site\moodle_head\question\format\blackboard\format.php(217): $question->single = 0; // More than one answers allowed
C:\moodle\moodle\site\moodle_head\question\format\blackboard\format.php(234): $correctanswers = $thisquestion["#"]["GRADABLE"][0]["#"]["CORRECTANSWER"];
C:\moodle\moodle\site\moodle_head\question\format\blackboard\format.php(242): $correctanswercount = sizeof($correctanswers);
C:\moodle\moodle\site\moodle_head\question\format\blackboard\format.php(247): $correct_answer_id = trim($correctanswers[$k]["@"]["answer_id"]);
C:\moodle\moodle\site\moodle_head\question\format\blackboard\format.php(359): $question->subanswers[] = trim($choice);
C:\moodle\moodle\site\moodle_head\question\format\blackboard\format.php(361): $correctanswers = $thisquestion["#"]["GRADABLE"][0]["#"]["CORRECTANSWER"];
C:\moodle\moodle\site\moodle_head\question\format\blackboard\format.php(362): for ($k = 0; $k < sizeof ($correctanswers); $k++) {
C:\moodle\moodle\site\moodle_head\question\format\blackboard\format.php(364): if (strcmp($choice_id, $correctanswers[$k]["@"]["choice_id"]) == 0) {
C:\moodle\moodle\site\moodle_head\question\format\blackboard\format.php(366): $answer_id = $correctanswers[$k]["@"]["answer_id"];
C:\moodle\moodle\site\moodle_head\question\format\blackboard\format.php(368): $answers = $thisquestion["#"]["ANSWER"];
C:\moodle\moodle\site\moodle_head\question\format\blackboard\format.php(369): for ($m = 0; $m < sizeof ($answers); $m++) {
C:\moodle\moodle\site\moodle_head\question\format\blackboard\format.php(371): $answer = $answers[$m];
Trouvé 'answers' 13 fois.
----------------------------------------
Recherche de 'answers' dans 'C:\moodle\moodle\site\moodle_head\question\format\examview\format.php' :
C:\moodle\moodle\site\moodle_head\question\format\examview\format.php(73): $newgroup->subanswers = array();
C:\moodle\moodle\site\moodle_head\question\format\examview\format.php(92): $match_group->subanswers[] = $match_group->subchoices[$answer];
C:\moodle\moodle\site\moodle_head\question\format\examview\format.php(109): $question->subanswers = array();
C:\moodle\moodle\site\moodle_head\question\format\examview\format.php(114): $htmltext = s($match_group->subanswers[$key]);
C:\moodle\moodle\site\moodle_head\question\format\examview\format.php(115): $question->subanswers[] = $htmltext;
C:\moodle\moodle\site\moodle_head\question\format\examview\format.php(243): $answers = explode("\n",$answer);
C:\moodle\moodle\site\moodle_head\question\format\examview\format.php(245): foreach($answers as $key => $value) {
C:\moodle\moodle\site\moodle_head\question\format\examview\format.php(267): $answers = explode("\n",$answer);
C:\moodle\moodle\site\moodle_head\question\format\examview\format.php(269): foreach($answers as $key => $value) {
Trouvé 'answers' 9 fois.
----------------------------------------
Recherche de 'answers' dans 'C:\moodle\moodle\site\moodle_head\question\format\gift\format.php' :
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(103): function check_answer_count( $min, $answers, $text ) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(104): $countanswers = count($answers);
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(105): if ($countanswers < $min) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(172): $answerstart = strpos($text, "{");
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(176): if (($answerstart === false) and ($answerfinish === false)) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(181): elseif (!(($answerstart !== false) and ($answerfinish !== false))) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(186): $answerlength = $answerfinish - $answerstart;
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(187): $answertext = trim(substr($text, $answerstart + 1, $answerlength - 1));
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(195): // no blank line if answers follow question, outside of closing punctuation
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(196): $questiontext = substr_replace($text, "", $answerstart, $answerlength+1);
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(199): $questiontext = substr_replace($text, "_____", $answerstart, $answerlength+1);
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(263): $valid_tf_answers = array("T", "TRUE", "F", "FALSE");
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(264): if (in_array($truefalse_check, $valid_tf_answers)) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(291): $question->single = 0; // multiple answers are enabled if no single answer is 100% correct
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(297): $answers = explode("~", $answertext);
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(298): if (isset($answers[0])) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(299): $answers[0] = trim($answers[0]);
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(301): if (empty($answers[0])) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(302): array_shift($answers);
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(305): $countanswers = count($answers);
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(307): if (!$this->check_answer_count( 2,$answers,$text )) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(312): foreach ($answers as $key => $answer) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(340): $answers = explode("=", $answertext);
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(341): if (isset($answers[0])) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(342): $answers[0] = trim($answers[0]);
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(344): if (empty($answers[0])) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(345): array_shift($answers);
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(348): if (!$this->check_answer_count( 2,$answers,$text )) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(353): foreach ($answers as $key => $answer) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(364): $question->subanswers[$key] = trim($this->escapedchar_post(substr($answer, $marker+2)));
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(394): $answers = explode("=", $answertext);
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(395): if (isset($answers[0])) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(396): $answers[0] = trim($answers[0]);
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(398): if (empty($answers[0])) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(399): array_shift($answers);
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(402): if (!$this->check_answer_count( 1,$answers,$text )) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(407): foreach ($answers as $key => $answer) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(439): $answers = explode("=", $answertext);
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(440): if (isset($answers[0])) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(441): $answers[0] = trim($answers[0]);
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(443): if (empty($answers[0])) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(444): array_shift($answers);
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(447): if (count($answers) == 0) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(449): $giftnonumericalanswers = get_string('giftnonumericalanswers','quiz');
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(450): $this->error( $giftnonumericalanswers, $text );
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(455): foreach ($answers as $key => $answer) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(566): $trueanswer = $question->options->answers[$question->options->trueanswer];
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(567): $falseanswer = $question->options->answers[$question->options->falseanswer];
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(593): foreach($question->options->answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(614): foreach($question->options->answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\format\gift\format.php(622): foreach ($question->options->answers as $answer) {
Trouvé 'answers' 58 fois.
----------------------------------------
Recherche de 'answers' dans 'C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php' :
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(161): $answers = array();
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(163): // add answers
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(176): $answers[] = (empty($fraction) ? '' : '=').$text.(empty($feedback) ? '' : ('#'.$feedback));
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(180): // compile answers into question text, if necessary
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(181): $wrapped->questiontext = '{'.$defaultgrade.':SHORTANSWER:'.implode('~', $answers).'}';
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(253): $question->subanswers = array();
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(261): $question->subanswers[$p] = $this->hotpot_prepare_str($right);
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(353): if ($xml->xml_value($tags, $question_record."['answers']")) {
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(355): $answers = $question_record."['answers'][0]['#']";
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(358): $answers = $question_record;
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(388): // workaround required to calculate scores for multiple select answers
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(389): $no_of_correct_answers = 0;
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(392): while (($answer = $answers."['answer'][$a]['#']") && $xml->xml_value($tags, $answer)) {
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(397): $no_of_correct_answers++;
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(407): $correct_answers = array();
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(408): $correct_answers_all_zero = true;
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(409): while (($answer = $answers."['answer'][$a]['#']") && $xml->xml_value($tags, $answer)) {
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(415): $fraction = round(1/$no_of_correct_answers, 5);
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(433): $correct_answers_all_zero = false;
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(435): $correct_answers[] = $aa;
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(441): if ($correct_answers_all_zero) {
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(442): // correct answers all have score of 0%,
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(443): // so reset score for correct answers 100%
C:\moodle\moodle\site\moodle_head\question\format\hotpot\format.php(444): foreach ($correct_answers as $aa) {
Trouvé 'answers' 25 fois.
----------------------------------------
Recherche de 'answers' dans 'C:\moodle\moodle\site\moodle_head\question\format\learnwise\format.php' :
C:\moodle\moodle\site\moodle_head\question\format\learnwise\format.php(3): // Imports learnwise multiple choice quizzes (single and multiple answers)
C:\moodle\moodle\site\moodle_head\question\format\learnwise\format.php(118): } else { // mulitple answers
Trouvé 'answers' 2 fois.
----------------------------------------
Recherche de 'answers' dans 'C:\moodle\moodle\site\moodle_head\question\format\missingword\format.php' :
C:\moodle\moodle\site\moodle_head\question\format\missingword\format.php(50): $answerstart = strpos($text, "{");
C:\moodle\moodle\site\moodle_head\question\format\missingword\format.php(51): if ($answerstart === false) {
C:\moodle\moodle\site\moodle_head\question\format\missingword\format.php(66): $answerlength = $answerfinish - $answerstart;
C:\moodle\moodle\site\moodle_head\question\format\missingword\format.php(67): $answertext = substr($text, $answerstart + 1, $answerlength - 1);
C:\moodle\moodle\site\moodle_head\question\format\missingword\format.php(70): $question->questiontext = substr_replace($text, "_____", $answerstart, $answerlength+1);
C:\moodle\moodle\site\moodle_head\question\format\missingword\format.php(74): /// Parse the answers
C:\moodle\moodle\site\moodle_head\question\format\missingword\format.php(76): $answers = explode("~", $answertext);
C:\moodle\moodle\site\moodle_head\question\format\missingword\format.php(77): if (isset($answers[0])) {
C:\moodle\moodle\site\moodle_head\question\format\missingword\format.php(78): $answers[0] = trim($answers[0]);
C:\moodle\moodle\site\moodle_head\question\format\missingword\format.php(80): if (empty($answers[0])) {
C:\moodle\moodle\site\moodle_head\question\format\missingword\format.php(81): array_shift($answers);
C:\moodle\moodle\site\moodle_head\question\format\missingword\format.php(84): $countanswers = count($answers);
C:\moodle\moodle\site\moodle_head\question\format\missingword\format.php(86): switch ($countanswers) {
C:\moodle\moodle\site\moodle_head\question\format\missingword\format.php(89): echo "
No answers found in $answertext";
C:\moodle\moodle\site\moodle_head\question\format\missingword\format.php(96): $answer = trim($answers[0]);
C:\moodle\moodle\site\moodle_head\question\format\missingword\format.php(109): foreach ($answers as $key => $answer) {
C:\moodle\moodle\site\moodle_head\question\format\missingword\format.php(125): //remove the protective underscore for leading numbers in answers
Trouvé 'answers' 19 fois.
----------------------------------------
----------------------------------------
Recherche de 'answers' dans 'C:\moodle\moodle\site\moodle_head\question\format\webct\format.php' :
C:\moodle\moodle\site\moodle_head\question\format\webct\format.php(207): $question->subanswers[$currentchoice] = $answertext;
C:\moodle\moodle\site\moodle_head\question\format\webct\format.php(338): foreach ($question->answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\format\webct\format.php(352): // switch subquestions and subanswers
C:\moodle\moodle\site\moodle_head\question\format\webct\format.php(355): $question->subquestions[$id] = $question->subanswers[$id];
C:\moodle\moodle\site\moodle_head\question\format\webct\format.php(356): $question->subanswers[$id] = $temp;
C:\moodle\moodle\site\moodle_head\question\format\webct\format.php(362): $question->subanswers[] = 'dummy';
C:\moodle\moodle\site\moodle_head\question\format\webct\format.php(396): // Multiple Choice Question with several good answers
C:\moodle\moodle\site\moodle_head\question\format\webct\format.php(400): $question->single = 0; // Many answers allowed
C:\moodle\moodle\site\moodle_head\question\format\webct\format.php(423): $question->answers = array(); // No problem as they go as :FORMULA: from webct
C:\moodle\moodle\site\moodle_head\question\format\webct\format.php(538): $question->answers[$currentchoice] =
Trouvé 'answers' 10 fois.
----------------------------------------
Recherche de 'answers' dans 'C:\moodle\moodle\site\moodle_head\question\format\xhtml\format.php' :
C:\moodle\moodle\site\moodle_head\question\format\xhtml\format.php(59): foreach($question->options->answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\format\xhtml\format.php(90): // build drop down for answers
Trouvé 'answers' 2 fois.
----------------------------------------
Recherche de 'answers' dans 'C:\moodle\moodle\site\moodle_head\question\format\xml\format.php' :
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(177): $shuffleanswers = $this->getpath( $question, array('#','shuffleanswers',0,'#'), 'false' );
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(179): $qo->shuffleanswers = $this->trans_single($shuffleanswers);
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(189): // run through the answers
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(190): $answers = $question['#']['answer'];
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(192): foreach ($answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(237): // In the past, it used to be assumed that the two answers were in the file
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(286): // run through the answers
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(287): $answers = $question['#']['answer'];
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(289): foreach ($answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(327): // get answers array
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(328): $answers = $question['#']['answer'];
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(333): foreach ($answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(372): $qo->shuffleanswers = $this->getpath( $question, array( '#','shuffleanswers',0,'#' ), 1 );
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(377): $qo->subanswers = array();
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(382): $qo->subanswers[] = $this->getpath( $subquestion, array('#','answer',0,'#','text',0,'#'), '', true);
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(418): // get answers array
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(420): $answers = $question['#']['answer'];
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(421): $qo->answers = array();
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(429): foreach ($answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(438): $qo->answers[] = '*';
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(440): $qo->answers[] = $answertext;
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(827): if (!empty($question->options->shuffleanswers)) {
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(828): $expout .= " {$question->options->shuffleanswers}\n";
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(831): $expout .= " 0\n";
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(840): foreach ($question->options->answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(857): $expout .= " ".$this->get_single($question->options->shuffleanswers)."\n";
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(862): foreach($question->options->answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(874): foreach($question->options->answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(885): foreach ($question->options->answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(931): if (!empty($question->options->answers)) {
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(932): foreach ($question->options->answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\format\xml\format.php(943): foreach ($question->options->answers as $answer) {
Trouvé 'answers' 40 fois.
----------------------------------------
Recherche de 'answers' dans 'C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php' :
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(334): $matching_answerset = $pblock['#']['flow'];
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(336): $answerset = array();
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(337): foreach($matching_answerset as $answer) {
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(338): // $answerset[] = $this->process_block($answer, $bb_answer);
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(341): $answerset[] = $bb_answer;
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(343): $block->matching_answerset = $answerset;
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(607): $answers = array();
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(624): //for BB Fill in the Blank, only interested in correct answers
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(626): $answers[] = $response->ident[0]['varequal'][0]['#'];
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(640): //Adding catchall to so that students can see feedback for incorrect answers when they enter something the
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(642): $answers[] = '*';
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(651): $question->answer = $answers;
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(731): // Process Multiple Choice Questions With Multiple Answers
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(738): $answers = $quest->responses;
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(739): $correct_answers = array();
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(740): foreach($answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(742): $answerset = $answer->ident[0]['and'][0]['#']['varequal'];
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(743): foreach($answerset as $ans) {
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(744): $correct_answers[] = $ans['#'];
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(753): $correct_answer_count = count($correct_answers);
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(758): if (in_array($choice->ident, $correct_answers)) {
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(830): $question->subanswers[] = $quest->RIGHT_MATCH_BLOCK->matching_answerset[$cid]->text;
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(837): if ( count($quest->RESPONSE_BLOCK->subquestions) > count($quest->RIGHT_MATCH_BLOCK->matching_answerset) || count($question->subquestions) < 2) {
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(842): foreach($question->subanswers as $qstn) {
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(861): print '
This matching question is malformed. Please ensure there are no blank answers, no two questions have the same answer, and/or there are correct answers for each question. There must be at least as many subanswers as subquestions, and at least one subquestion.
';
C:\moodle\moodle\site\moodle_head\question\format\blackboard_six\format.php(885): print $quest->RIGHT_MATCH_BLOCK->matching_answerset[$id]->text.'';
Trouvé 'answers' 30 fois.
----------------------------------------
Recherche de 'answers' dans 'C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php' :
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(363): $questions = $this->quiz_export_prepare_questions($questions, $quiz->id, $course->id, $quiz->shuffleanswers);
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(394): * - the question answers atached to the questions
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(403): function quiz_export_prepare_questions($questions, $quizid, $courseid, $shuffleanswers = null) {
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(405): // add the answers to the questions and format the image property
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(433): $questions = $this->questions_with_export_info($questions, $shuffleanswers);
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(476): function questions_with_export_info($questions, $shuffleanswers = null) {
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(479): $expout = $this->writequestion( $question , $shuffleanswers) . "\n";
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(493): * @param boolean $shuffleanswers whether or not to shuffle the answers
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(498): function writequestion($question, $shuffleanswers = null, $courselevel = false, $path = '') {
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(537): $qanswers = $question->options->answers;
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(538): $answers[0] = (array)$qanswers['true'];
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(539): $answers[0]['answer'] = get_string("true", "quiz");
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(540): $answers[1] = (array)$qanswers['false'];
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(541): $answers[1]['answer'] = get_string("false", "quiz");
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(543): if (!empty($shuffleanswers)) {
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(544): $answers = $this->shuffle_things($answers);
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(549): if ($answers[0]['id'] == $correctresponseid) {
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(550): $correctresponse = $answers[0];
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(552): $correctresponse = $answers[1];
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(560): $smarty->assign('answers', $answers);
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(564): $answers = $this->objects_to_array($question->options->answers);
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(565): $correctresponses = $this->get_correct_answers($answers);
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(570): $smarty->assign('answers', $answers);
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(571): $smarty->assign('maxChoices', $question->options->single ? '1' : count($answers));
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(572): $smarty->assign('maxChoices', $question->options->single ? '1' : count($answers));
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(573): $smarty->assign('shuffle', empty($shuffleanswers) ? 'false' : 'true');
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(581): $answers = $this->objects_to_array($question->options->answers);
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(582): if (!empty($shuffleanswers)) {
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(583): $answers = $this->shuffle_things($answers);
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(586): $correctresponses = $this->get_correct_answers($answers);
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(591): $smarty->assign('answers', $answers);
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(595): $qanswer = array_pop( $question->options->answers );
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(604): if (!empty($shuffleanswers)) {
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(616): // loss of get_answers() from quiz_embedded_close_qtype class during
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(620): $answers = $this->get_cloze_answers_array($question);
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(621): $questions = $this->get_cloze_questions($question, $answers, $allowedtags);
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(624): $smarty->assign('answers', $answers);
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(650): * gets the answers whose grade fraction > 0
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(652): * @param array $answers
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(653): * @return array (0-indexed) containing the answers whose grade fraction > 0
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(655): function get_correct_answers($answers)
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(657): $correctanswers = array();
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(658): foreach ($answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(660): $correctanswers[] = $answer;
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(663): return $correctanswers;
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(708): function get_cloze_answers_array($question) {
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(709): $answers = $this->get_answers($question);
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(710): $this->xml_entitize($answers);
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(711): foreach ($answers as $answerkey => $answer) {
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(712): $answers[$answerkey]->subanswers = $this->objects_to_array($answer->subanswers);
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(714): return $this->objects_to_array($answers);
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(724): * @param array $answers - an array of arrays containing the question's answers
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(728): function get_cloze_questions($question, $answers, $allowabletags) {
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(742): foreach ($answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\format\qti_two\format.php(816): * The results are based on whether or not Moodle stores answers for the given question type
Trouvé 'answers' 75 fois.
----------------------------------------
Recherche de 'answers' dans 'C:\moodle\moodle\site\moodle_head\question\type\edit_question_form.php' :
C:\moodle\moodle\site\moodle_head\question\type\edit_question_form.php(23): * Question object with options and answers already loaded by get_question_options
Trouvé 'answers' 1 fois.
----------------------------------------
Recherche de 'answers' dans 'C:\moodle\moodle\site\moodle_head\question\type\questiontype.php' :
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(132): * @return whether the question_answers.answer field needs to have
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(135): function has_html_answers() {
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(152): * If your question type has a table that extends the question_answers table,
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(263): * Given some question info and some data about the answers
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(356): // Now to save all the answers and type-specific options
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(433): // TODO save the answers, with any extra data.
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(475): $question->options->answers = $DB->get_records_sql("
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(477): FROM {question_answers} qa, {$answer_extension_table} qax
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(479): if (!$question->options->answers) {
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(480): notify("Failed to load question answers from the table $answer_extension_table for questionid " .
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(485): // Don't check for success or failure because some question types do not use the answers table.
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(486): $question->options->answers = $DB->get_records('question_answers', array('question' => $question->id), 'id ASC');
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(524): "answerid IN (SELECT qa.id FROM {question_answers} qa WHERE qa.question = ?)", array($questionid));
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(527): $success = $success && $DB->delete_records('question_answers', array('question' => $questionid));
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(665): if ($question->options->answers) {
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(666): foreach ($question->options->answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(679): * All answers are found and their text values isolated
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(684): * to all answers to the question. Answer ids are used as keys.
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(686): * @param object $question The question for which the answers are to
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(692): if (isset($question->options->answers) && is_array($question->options->answers)) {
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(693): $answers = array();
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(694): foreach ($question->options->answers as $aid=>$answer) {
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(698): $answers[$aid] = $r;
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(702): $result->responses = $answers;
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(710): * method is not passed a state object. It is the possible answers to a
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(713): * @return array of possible answers.
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(1302): * equivalent answers to the question by the student. This method will be
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(1343): * This method only applies to questions that use teacher-defined answers
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(1375): // answers stored in the question, and uses the grade from the
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(1380): foreach($question->options->answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(1480): * Need to check for links to files in question_answers.answer and feedback
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(1522): /// Answers, if this question uses them.
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(1523): if (isset($question->options->answers)){
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(1524): foreach ($question->options->answers as $answerkey => $answer){
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(1525): /// URLs in the answers themselves, if appropriate.
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(1526): if ($this->has_html_answers()) {
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(1543): * Need to check for links to files in question_answers.answer and feedback
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(1585): /// Answers, if this question uses them.
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(1586): if (isset($question->options->answers)){
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(1587): //answers that do not need updating have been unset
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(1588): foreach ($question->options->answers as $answer){
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(1590): /// URLs in the answers themselves, if appropriate.
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(1591): if ($this->has_html_answers()) {
C:\moodle\moodle\site\moodle_head\question\type\questiontype.php(1598): if (!$DB->update_record('question_answers', $answer)){
Trouvé 'answers' 46 fois.
---------------------------------------
Recherche de 'answers' dans 'C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetdefinitions_form.php' :
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetdefinitions_form.php(9): * Question object with options and answers already loaded by get_question_options
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetdefinitions_form.php(39): if (isset($this->question->options->answers)){
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetdefinitions_form.php(40): foreach ($this->question->options->answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetdefinitions_form.php(44): foreach ($SESSION->calculated->questionform->answers as $answer){
Trouvé 'answers' 4 fois.
----------------------------------------
Recherche de 'answers' dans 'C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php' :
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(4): * Question object with options and answers already loaded by get_question_options
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(28): public $commentanswers = array();
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(90): $mform->addElement('header', 'updateanswershdr', get_string('answerstoleranceparam', 'qtype_datasetdependent'));
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(91): $mform->addElement('submit', 'updateanswers', get_string('updatetolerancesparam', 'qtype_datasetdependent'));
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(92): $mform->setAdvanced('updateanswers',true);
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(93): $mform->registerNoSubmitButton('updateanswers');
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(95): $answers = fullclone($this->question->options->answers);
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(97): foreach ($answers as $key => $answer) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(116): $mform->addElement('select', 'correctanswerlength['.$key.']', get_string('correctanswershows', 'qtype_calculated'), range(0, 9));
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(120): $mform->addElement('select', 'correctanswerformat['.$key.']', get_string('correctanswershowsformat', 'qtype_calculated'), $answerlengthformats);
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(217): $answers = $question->options->answers;
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(218): if (count($answers)) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(219): if ( optional_param('updateanswers', '', PARAM_RAW) != '' || optional_param('updatedatasets', '', PARAM_RAW) != ''){
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(220): foreach ($answers as $key => $answer){
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(235): foreach ($answers as $key => $answer){
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(258): $comment = $this->qtypeobj->comment_on_datasetitems($question->id,$answers, $data, $itemnumber);
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(263): foreach ($question->options->answers as $key => $answer) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(264): $totalcomment .= $comment->stranswers[$key].' ';
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(279): if( optional_param('updatedatasets', '', PARAM_RAW) == '' && optional_param('updateanswers', '', PARAM_RAW)== ''){
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(294): if (!$this->regenerate && (optional_param('updatedatasets', '', PARAM_RAW) == '' && optional_param('updateanswers', '', PARAM_RAW)== '')){
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(309): $comment = $this->qtypeobj->comment_on_datasetitems($question->id,$answers, $data, ($this->noofitems+1));
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(314): foreach ($question->options->answers as $key => $answer) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\datasetitems_form.php(315): $formdata['answercomment['.($this->noofitems+$key1).']'] = $comment->stranswers[$key];
Trouvé 'answers' 26 fois.
----------------------------------------
Recherche de 'answers' dans 'C:\moodle\moodle\site\moodle_head\question\type\calculated\edit_calculated_form.php' :
C:\moodle\moodle\site\moodle_head\question\type\calculated\edit_calculated_form.php(43): $repeated[] =& $mform->createElement('text', 'answers', get_string('correctanswerformula', 'quiz').'=', array('size' => 50));
C:\moodle\moodle\site\moodle_head\question\type\calculated\edit_calculated_form.php(44): $repeatedoptions['answers']['type'] = PARAM_NOTAGS;
C:\moodle\moodle\site\moodle_head\question\type\calculated\edit_calculated_form.php(56): $repeated[] =& $mform->createElement('select', 'correctanswerlength', get_string('correctanswershows', 'qtype_calculated'), range(0, 9));
C:\moodle\moodle\site\moodle_head\question\type\calculated\edit_calculated_form.php(60): $repeated[] =& $mform->createElement('select', 'correctanswerformat', get_string('correctanswershowsformat', 'qtype_calculated'), $answerlengthformats);
C:\moodle\moodle\site\moodle_head\question\type\calculated\edit_calculated_form.php(67): $count = count($this->question->options->answers);
C:\moodle\moodle\site\moodle_head\question\type\calculated\edit_calculated_form.php(76): $this->repeat_elements($repeated, $repeatsatstart, $repeatedoptions, 'noanswers', 'addanswers', 1, get_string('addmoreanswerblanks', 'qtype_calculated'));
C:\moodle\moodle\site\moodle_head\question\type\calculated\edit_calculated_form.php(114): $answers = $question->options->answers;
C:\moodle\moodle\site\moodle_head\question\type\calculated\edit_calculated_form.php(115): if (count($answers)) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\edit_calculated_form.php(117): foreach ($answers as $answer){
C:\moodle\moodle\site\moodle_head\question\type\calculated\edit_calculated_form.php(118): $default_values['answers['.$key.']'] = $answer->answer;
C:\moodle\moodle\site\moodle_head\question\type\calculated\edit_calculated_form.php(196): $answers = $data['answers'];
C:\moodle\moodle\site\moodle_head\question\type\calculated\edit_calculated_form.php(201): foreach ($answers as $key => $answer){
C:\moodle\moodle\site\moodle_head\question\type\calculated\edit_calculated_form.php(206): foreach ($answers as $key => $answer){
C:\moodle\moodle\site\moodle_head\question\type\calculated\edit_calculated_form.php(207): $errors['answers['.$key.']'] = get_string('atleastonewildcard', 'qtype_datasetdependent');
C:\moodle\moodle\site\moodle_head\question\type\calculated\edit_calculated_form.php(210): foreach ($answers as $key => $answer){
C:\moodle\moodle\site\moodle_head\question\type\calculated\edit_calculated_form.php(217): $errors['answers['.$key.']'] = $eqerror;
C:\moodle\moodle\site\moodle_head\question\type\calculated\edit_calculated_form.php(280): $errors['answers[0]'] = get_string('atleastoneanswer', 'qtype_calculated');
Trouvé 'answers' 20 fois.
Recherche de 'answers' dans 'C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php' :
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(32): if (!$question->options->answers = $DB->get_records_sql(
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(34): "FROM {question_answers} a, " .
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(62): foreach ($question->options->answers as $key => $answer) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(63): $answer = &$question->options->answers[$key]; // for PHP 4.x
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(131): // Get old answers:
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(135): if (!$oldanswers = $DB->get_records('question_answers', array('question' => $question->id), 'id ASC')) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(136): $oldanswers = array();
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(151): // Insert all the new answers
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(152): foreach ($question->answers as $key => $dataanswer) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(160): if ($oldanswer = array_shift($oldanswers)) { // Existing answer, so reuse it
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(162): if (! $DB->update_record("question_answers", $answer)) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(167): if (! $answer->id = $DB->insert_record("question_answers", $answer)) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(202): if (!empty($oldanswers)) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(203): foreach($oldanswers as $oa) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(204): $DB->delete_records('question_answers', array('id' => $oa->id));
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(354): $question->options->answers = array();
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(355): foreach ($form->answers as $key => $answer) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(362): $question->options->answers[] = clone($a);
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(379): foreach ($form->answers as $key => $answer) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(514): foreach ($form->answers as $answer) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(525): // always prepare the mandatorydatasets present in the answers
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(561): * the general parameters and answers are saved using parent::save_question
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(767): foreach ($numericalquestion->options->answers as $key => $answer) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(768): $answer = fullclone($numericalquestion->options->answers[$key]);
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(769): $numericalquestion->options->answers[$key]->answer = $this->substitute_variables_and_eval($answer->answer,
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(799): foreach ($numericalquestion->options->answers as $key => $answer) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(800): $answer = $numericalquestion->options->answers[$key]->answer; // for PHP 4.x
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(801): $numericalquestion->options->answers[$key]->answer = $this->substitute_variables_and_eval($answer,
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(819): foreach ($question->options->answers as $key => $answer) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(820): $numericalquestion->options->answers[$key] = clone($answer);
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(822): foreach ($numericalquestion->options->answers as $key => $answer) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(823): $answer = &$numericalquestion->options->answers[$key]; // for PHP 4.x
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(841): foreach ($question->options->answers as $key => $answer) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(842): $numericalquestion->options->answers[$key] = clone($answer);
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(844): foreach ($numericalquestion->options->answers as $key => $answer) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(845): $answer = &$numericalquestion->options->answers[$key]; // for PHP 4.x
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(979): foreach ($question->options->answers as $key => $answer) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(1148): $answers = $question->options->answers;
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(1150): foreach ($answers as $key => $answer) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(1161): function comment_on_datasetitems($questionid, $answers,$data, $number) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(1164): $comment->stranswers = array();
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(1166): $comment->answers = array();
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(1174): $answers = fullclone($answers);
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(1180): foreach ($answers as $key => $answer) {
C:\moodle\moodle\site\moodle_head\question\type\calculated\questiontype.php(1195): $comment->stranswers[$key] = " $formattedanswer->answer".'