[svn r17765] Minor - update phpdoc

skala
Yannick Warnier 17 years ago
parent 688d78ae40
commit ee70347ede
  1. 38
      main/exercice/exercise_show.php

@ -238,11 +238,11 @@ function display_unique_or_multiple_answer($answerType, $studentChoice, $answer,
<?php <?php
} }
/** /**
* Enter description here... * Shows the answer to a fill-in-the-blanks question, as HTML
* * @param string Answer text
* @param unknown_type $answer * @param int Exercise ID
* @param unknown_type $id * @param int Question ID
* @param unknown_type $questionId * @return void
*/ */
function display_fill_in_blanks_answer($answer,$id,$questionId) function display_fill_in_blanks_answer($answer,$id,$questionId)
{ {
@ -263,11 +263,11 @@ function display_fill_in_blanks_answer($answer,$id,$questionId)
<?php } <?php }
} }
/** /**
* Enter description here... * Shows the answer to a free-answer question, as HTML
* * @param string Answer text
* @param unknown_type $answer * @param int Exercise ID
* @param unknown_type $id * @param int Question ID
* @param unknown_type $questionId * @return void
*/ */
function display_free_answer($answer,$id,$questionId) function display_free_answer($answer,$id,$questionId)
{ {
@ -291,12 +291,12 @@ function display_free_answer($answer,$id,$questionId)
<?php <?php
} }
/** /**
* Enter description here... * Displays the answer to a hotspot question
* *
* @param unknown_type $answerId * @param int $answerId
* @param unknown_type $answer * @param string $answer
* @param unknown_type $studentChoice * @param string $studentChoice
* @param unknown_type $answerComment * @param string $answerComment
*/ */
function display_hotspot_answer($answerId, $answer, $studentChoice, $answerComment) function display_hotspot_answer($answerId, $answer, $studentChoice, $answerComment)
{ {
@ -690,14 +690,6 @@ $result =api_sql_query($query, __FILE__, __LINE__);
$temp=substr($temp,$pos+1); $temp=substr($temp,$pos+1);
$i=$i+1; $i=$i+1;
} }
/*
echo "<pre>";
print_r($user_tags);
echo "<br>";
print_r($correct_tags);
print_r($answerWeighting);
echo "</pre>";
*/
$answer=''; $answer='';
for($i=0;$i<count($correct_tags);$i++) for($i=0;$i<count($correct_tags);$i++)
{ {

Loading…
Cancel
Save