@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | /** |
19 | 19 | * Checks whether a given course code has been already occupied. |
20 | 20 | * @param string $wanted_course_code The code to be checked. |
21 | - * @return string |
|
21 | + * @return boolean |
|
22 | 22 | * Returns TRUE if there is created: |
23 | 23 | * - a course with the same code OR visual_code (visualcode). |
24 | 24 | * - a course request with the same code as the given one, or |
@@ -368,7 +368,7 @@ discard block |
||
368 | 368 | } |
369 | 369 | |
370 | 370 | /** |
371 | - * @param null $status |
|
371 | + * @param integer $status |
|
372 | 372 | * @return bool |
373 | 373 | */ |
374 | 374 | public static function count_course_requests($status = null) |
@@ -390,7 +390,7 @@ discard block |
||
390 | 390 | |
391 | 391 | /** |
392 | 392 | * Gets all the information about a course request using its database id as an access key. |
393 | - * @param int/string $id The id (an integer number) of the corresponding database record. |
|
393 | + * @param integer $id The id (an integer number) of the corresponding database record. |
|
394 | 394 | * @return array/bool Returns the requested data as an array or FALSE on failure. |
395 | 395 | */ |
396 | 396 | public static function get_course_request_info($id) |
@@ -493,6 +493,7 @@ |
||
493 | 493 | * This function update extra user blocks data after closing a dashboard block |
494 | 494 | * @param int User id |
495 | 495 | * @param string plugin path |
496 | + * @param integer $user_id |
|
496 | 497 | * @return bool |
497 | 498 | */ |
498 | 499 | public static function close_user_block($user_id, $path) |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * |
67 | 67 | * @param string $table |
68 | 68 | * |
69 | - * @return mixed |
|
69 | + * @return string |
|
70 | 70 | */ |
71 | 71 | public static function get_main_table($table) |
72 | 72 | { |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | |
266 | 266 | /** |
267 | 267 | * Frees all the memory associated with the provided result identifier. |
268 | - * @return bool Returns TRUE on success or FALSE on failure. |
|
268 | + * @return boolean|null Returns TRUE on success or FALSE on failure. |
|
269 | 269 | * Notes: Use this method if you are concerned about how much memory is being used for queries that return large result sets. |
270 | 270 | * Anyway, all associated result memory is automatically freed at the end of the script's execution. |
271 | 271 | */ |
@@ -381,7 +381,7 @@ discard block |
||
381 | 381 | * @param array $attributes |
382 | 382 | * @param bool $show_query |
383 | 383 | * |
384 | - * @return bool|int |
|
384 | + * @return false|string |
|
385 | 385 | */ |
386 | 386 | public static function insert($table_name, $attributes, $show_query = false) |
387 | 387 | { |
@@ -351,6 +351,12 @@ |
||
351 | 351 | |
352 | 352 | /** |
353 | 353 | * Additional functions needed for fast integration |
354 | + * @param integer $status |
|
355 | + * @param string $section |
|
356 | + * @param string $title |
|
357 | + * @param string $url |
|
358 | + * @param string|null $formatter |
|
359 | + * @param string $comment |
|
354 | 360 | */ |
355 | 361 | public function build_setting($status, $section, $title, $url, $current_value, $expected_value, $formatter, $comment, $img_path = null) { |
356 | 362 | switch ($status) { |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | } |
33 | 33 | |
34 | 34 | /** |
35 | - * @return array |
|
35 | + * @return string[] |
|
36 | 36 | */ |
37 | 37 | public static function toolList() |
38 | 38 | { |
@@ -290,7 +290,6 @@ discard block |
||
290 | 290 | * 'page_nr' = The page to display |
291 | 291 | * 'hide_navigation' = true to hide the navigation |
292 | 292 | * @param array $query_vars Additional variables to add in the query-string |
293 | - * @param array $form actions Additional variables to add in the query-string |
|
294 | 293 | * @param mixed An array with bool values to know which columns show. |
295 | 294 | * i.e: $visibility_options= array(true, false) we will only show the first column |
296 | 295 | * Can be also only a bool value. TRUE: show all columns, FALSE: show nothing |
@@ -331,7 +330,6 @@ discard block |
||
331 | 330 | * 'page_nr' = The page to display |
332 | 331 | * 'hide_navigation' = true to hide the navigation |
333 | 332 | * @param array $query_vars Additional variables to add in the query-string |
334 | - * @param array $form actions Additional variables to add in the query-string |
|
335 | 333 | * @param mixed An array with bool values to know which columns show. i.e: |
336 | 334 | * $visibility_options= array(true, false) we will only show the first column |
337 | 335 | * Can be also only a bool value. TRUE: show all columns, FALSE: show nothing |
@@ -388,10 +386,11 @@ discard block |
||
388 | 386 | * 'per_page' = number of items to show per page |
389 | 387 | * 'page_nr' = The page to display |
390 | 388 | * @param array $query_vars Additional variables to add in the query-string |
391 | - * @param array $column_show Array of binaries 1= show columns 0. hide a column |
|
389 | + * @param integer[] $column_show Array of binaries 1= show columns 0. hide a column |
|
392 | 390 | * @param array $column_order An array of integers that let us decide how the columns are going to be sort. |
393 | 391 | * i.e: $column_order=array('1''4','3','4'); The 2nd column will be order like the 4th column |
394 | 392 | * @param array $form_actions Set optional forms actions |
393 | + * @param string $table_name |
|
395 | 394 | * |
396 | 395 | * @author Julio Montoya |
397 | 396 | */ |
@@ -444,7 +443,7 @@ discard block |
||
444 | 443 | * @param bool $filter (true) or not (false) |
445 | 444 | * @param bool $returnValue |
446 | 445 | * |
447 | - * @return void |
|
446 | + * @return string|null |
|
448 | 447 | */ |
449 | 448 | public static function display_normal_message($message, $filter = true, $returnValue = false) |
450 | 449 | { |
@@ -474,7 +473,7 @@ discard block |
||
474 | 473 | /** |
475 | 474 | * Displays an confirmation message. Use this if something has been done successfully |
476 | 475 | * @param bool Filter (true) or not (false) |
477 | - * @return void |
|
476 | + * @return string|null |
|
478 | 477 | */ |
479 | 478 | public static function display_confirmation_message ($message, $filter = true, $returnValue = false) |
480 | 479 | { |
@@ -491,7 +490,7 @@ discard block |
||
491 | 490 | * @param string $message - include any additional html |
492 | 491 | * tags if you need them |
493 | 492 | * @param bool Filter (true) or not (false) |
494 | - * @return void |
|
493 | + * @return string|null |
|
495 | 494 | */ |
496 | 495 | public static function display_error_message ($message, $filter = true, $returnValue = false) |
497 | 496 | { |
@@ -681,6 +680,7 @@ discard block |
||
681 | 680 | * @param string The alt text (probably a language variable) |
682 | 681 | * @param array additional attributes (for instance height, width, onclick, ...) |
683 | 682 | * @param integer The wanted width of the icon (to be looked for in the corresponding img/icons/ folder) |
683 | + * @param string $image |
|
684 | 684 | * @return void |
685 | 685 | */ |
686 | 686 | public static function display_icon( |
@@ -881,6 +881,7 @@ discard block |
||
881 | 881 | /** |
882 | 882 | * Displays an HTML input tag |
883 | 883 | * |
884 | + * @param string $type |
|
884 | 885 | */ |
885 | 886 | public static function input($type, $name, $value, $attributes = array()) |
886 | 887 | { |
@@ -897,8 +898,8 @@ discard block |
||
897 | 898 | } |
898 | 899 | |
899 | 900 | /** |
900 | - * @param $name |
|
901 | - * @param $value |
|
901 | + * @param string $name |
|
902 | + * @param string $value |
|
902 | 903 | * @param array $attributes |
903 | 904 | * @return string |
904 | 905 | */ |
@@ -913,6 +914,7 @@ discard block |
||
913 | 914 | /** |
914 | 915 | * Displays an HTML select tag |
915 | 916 | * |
917 | + * @param string $blank_item_text |
|
916 | 918 | */ |
917 | 919 | public static function select( |
918 | 920 | $name, |
@@ -983,6 +985,8 @@ discard block |
||
983 | 985 | * @param array content that will be showed |
984 | 986 | * @param string the id of the container of the tab in the example "tabs" |
985 | 987 | * @param array attributes for the ul |
988 | + * @param string[] $header_list |
|
989 | + * @param string[] $content_list |
|
986 | 990 | * |
987 | 991 | */ |
988 | 992 | public static function tabs($header_list, $content_list, $id = 'tabs', $attributes = array(), $ul_attributes = array()) |
@@ -1029,7 +1033,7 @@ discard block |
||
1029 | 1033 | |
1030 | 1034 | /** |
1031 | 1035 | * @param $headers |
1032 | - * @param null $selected |
|
1036 | + * @param integer $selected |
|
1033 | 1037 | * |
1034 | 1038 | * @return string |
1035 | 1039 | */ |
@@ -1067,6 +1071,7 @@ discard block |
||
1067 | 1071 | * As you can see both function use the same "my_grid_name" this is very important otherwise nothing will work |
1068 | 1072 | * |
1069 | 1073 | * @param string the div id, this value must be the same with the first parameter of Display::grid_js() |
1074 | + * @param string $div_id |
|
1070 | 1075 | * @return string html |
1071 | 1076 | * |
1072 | 1077 | */ |
@@ -1622,6 +1627,8 @@ discard block |
||
1622 | 1627 | * @param string url that will be added (for jquery see hot_courses.tpl) |
1623 | 1628 | * @param string point info array see function CourseManager::get_course_ranking() |
1624 | 1629 | * @param bool add a div wrapper |
1630 | + * @param string $id |
|
1631 | + * @param string $url |
|
1625 | 1632 | * @todo use templates |
1626 | 1633 | **/ |
1627 | 1634 | public static function return_rating_system($id, $url, $point_info = array(), $add_div_wrapper = true) |
@@ -1717,6 +1724,9 @@ discard block |
||
1717 | 1724 | return '<'.$size.'>'.Security::remove_XSS($title).'</'.$size.'>'; |
1718 | 1725 | } |
1719 | 1726 | |
1727 | + /** |
|
1728 | + * @param string $title |
|
1729 | + */ |
|
1720 | 1730 | public static function page_subheader2($title, $second_title = null) |
1721 | 1731 | { |
1722 | 1732 | return self::page_header($title, $second_title, 'h4'); |
@@ -1947,6 +1957,7 @@ discard block |
||
1947 | 1957 | |
1948 | 1958 | /** |
1949 | 1959 | * @todo use twig |
1960 | + * @param string $title |
|
1950 | 1961 | */ |
1951 | 1962 | public static function group_button($title, $elements) |
1952 | 1963 | { |
@@ -2164,9 +2175,9 @@ discard block |
||
2164 | 2175 | |
2165 | 2176 | /** |
2166 | 2177 | * @param int $id |
2167 | - * @param array $content |
|
2178 | + * @param string[] $content |
|
2168 | 2179 | * @param int $col |
2169 | - * @param bool|true $right |
|
2180 | + * @param boolean $right |
|
2170 | 2181 | * @return string |
2171 | 2182 | */ |
2172 | 2183 | public static function toolbarAction($id, $content = array(), $col = 2, $right = true) |
@@ -2248,10 +2259,10 @@ discard block |
||
2248 | 2259 | /** |
2249 | 2260 | * @param string $title |
2250 | 2261 | * @param string $content |
2251 | - * @param null $id |
|
2262 | + * @param string $id |
|
2252 | 2263 | * @param array $params |
2253 | - * @param null $idAccordion |
|
2254 | - * @param null $idCollapse |
|
2264 | + * @param string $idAccordion |
|
2265 | + * @param string $idCollapse |
|
2255 | 2266 | * @param bool|true $open |
2256 | 2267 | * @param bool|false $fullClickable |
2257 | 2268 | * @return null|string |
@@ -239,7 +239,7 @@ discard block |
||
239 | 239 | } |
240 | 240 | |
241 | 241 | /** |
242 | - * @param doc_id id of document (id in mainDb.document table) |
|
242 | + * @param doc_id string of document (id in mainDb.document table) |
|
243 | 243 | * @author Sebastien Piraux <[email protected]> |
244 | 244 | * @desc Record information for upload event |
245 | 245 | * used in the works tool to record informations when |
@@ -311,6 +311,8 @@ discard block |
||
311 | 311 | * @param int session_id |
312 | 312 | * @param int learnpath_id (id of the learnpath) |
313 | 313 | * @param int learnpath_item_id (id of the learnpath_item) |
314 | + * @param integer $weighting |
|
315 | + * @param integer $session_id |
|
314 | 316 | * |
315 | 317 | * @author Sebastien Piraux <[email protected]> |
316 | 318 | * @author Julio Montoya Armas <[email protected]> Reworked 2010 |
@@ -412,7 +414,9 @@ discard block |
||
412 | 414 | * @param integer Session ID (from the session table). Default value of null means "get from context". |
413 | 415 | * @param integer Learnpath ID (from c_lp table). Default value of null means "get from context". |
414 | 416 | * @param integer Learnpath item ID (from the c_lp_item table). Default value of null means "get from context". |
415 | - * @return boolean Result of the insert query |
|
417 | + * @param integer $exe_id |
|
418 | + * @param integer $position |
|
419 | + * @return false|string Result of the insert query |
|
416 | 420 | */ |
417 | 421 | public static function saveQuestionAttempt( |
418 | 422 | $score, |
@@ -582,6 +586,7 @@ discard block |
||
582 | 586 | * @param int Whether this answer is correct (1) or not (0) |
583 | 587 | * @param string Coordinates of this point (e.g. 123;324) |
584 | 588 | * @param bool update results? |
589 | + * @param integer $exe_id |
|
585 | 590 | * @return boolean Result of the insert query |
586 | 591 | * @uses Course code and user_id from global scope $_cid and $_user |
587 | 592 | */ |
@@ -714,7 +719,6 @@ discard block |
||
714 | 719 | /** |
715 | 720 | * Get every email stored in the database |
716 | 721 | * |
717 | - * @param int $etId |
|
718 | 722 | * @return type |
719 | 723 | * @assert () !== false |
720 | 724 | */ |
@@ -782,11 +786,11 @@ discard block |
||
782 | 786 | /** |
783 | 787 | * Save the new message for one event and for one language |
784 | 788 | * |
785 | - * @param string $eventName |
|
789 | + * @param string $event_name |
|
786 | 790 | * @param array $users |
787 | 791 | * @param string $message |
788 | 792 | * @param string $subject |
789 | - * @param string $eventMessageLanguage |
|
793 | + * @param string $event_message_language |
|
790 | 794 | * @param int $activated |
791 | 795 | */ |
792 | 796 | public static function save_event_type_message($event_name, $users, $message, $subject, $event_message_language, $activated) |
@@ -920,10 +924,10 @@ discard block |
||
920 | 924 | } |
921 | 925 | |
922 | 926 | /** |
923 | - * @param $user_id |
|
927 | + * @param integer $user_id |
|
924 | 928 | * @param $exerciseId |
925 | - * @param $lp_id |
|
926 | - * @param $lp_item_id |
|
929 | + * @param integer $lp_id |
|
930 | + * @param integer $lp_item_id |
|
927 | 931 | * @return int |
928 | 932 | */ |
929 | 933 | public static function get_attempt_count_not_finished($user_id, $exerciseId, $lp_id, $lp_item_id) |
@@ -1100,6 +1104,7 @@ discard block |
||
1100 | 1104 | * @param int exercise id |
1101 | 1105 | * @param int $courseId |
1102 | 1106 | * @param int session id |
1107 | + * @param integer $user_id |
|
1103 | 1108 | * @return array with the results |
1104 | 1109 | * |
1105 | 1110 | */ |
@@ -1195,6 +1200,7 @@ discard block |
||
1195 | 1200 | * @param int exercise id |
1196 | 1201 | * @param int $courseId |
1197 | 1202 | * @param int session id |
1203 | + * @param integer $user_id |
|
1198 | 1204 | * @return array with the results |
1199 | 1205 | * |
1200 | 1206 | */ |
@@ -1235,6 +1241,7 @@ discard block |
||
1235 | 1241 | * @param int exercise id |
1236 | 1242 | * @param string course code |
1237 | 1243 | * @param int session id |
1244 | + * @param integer $exe_id |
|
1238 | 1245 | * @return array with the results |
1239 | 1246 | * |
1240 | 1247 | */ |
@@ -1284,6 +1291,7 @@ discard block |
||
1284 | 1291 | * @param int lp id |
1285 | 1292 | * @param int lp item id |
1286 | 1293 | * @param string order asc or desc |
1294 | + * @param integer $courseId |
|
1287 | 1295 | * @return array with the results |
1288 | 1296 | * |
1289 | 1297 | */ |
@@ -1343,7 +1351,7 @@ discard block |
||
1343 | 1351 | * @param int exercise id |
1344 | 1352 | * @param int $courseId |
1345 | 1353 | * @param int session id |
1346 | - * @return array with the results |
|
1354 | + * @return string with the results |
|
1347 | 1355 | * |
1348 | 1356 | */ |
1349 | 1357 | public static function count_exercise_attempts_by_user($user_id, $exercise_id, $courseId, $session_id = 0) |
@@ -1519,7 +1527,7 @@ discard block |
||
1519 | 1527 | * @param int exercise id |
1520 | 1528 | * @param int course id |
1521 | 1529 | * @param int session id |
1522 | - * @return array with the results |
|
1530 | + * @return integer with the results |
|
1523 | 1531 | * |
1524 | 1532 | */ |
1525 | 1533 | public static function get_count_exercises_attempted_by_course($courseId, $session_id = 0) |
@@ -1255,6 +1255,7 @@ discard block |
||
1255 | 1255 | |
1256 | 1256 | /** |
1257 | 1257 | * Validates the time control key |
1258 | + * @param integer $exercise_id |
|
1258 | 1259 | */ |
1259 | 1260 | public static function exercise_time_control_is_valid( |
1260 | 1261 | $exercise_id, |
@@ -1388,7 +1389,7 @@ discard block |
||
1388 | 1389 | * @param int $in_direction |
1389 | 1390 | * @param string $in_hotpot_path |
1390 | 1391 | * @param bool $in_get_count |
1391 | - * @param null $where_condition |
|
1392 | + * @param string $where_condition |
|
1392 | 1393 | * @return array|int |
1393 | 1394 | */ |
1394 | 1395 | public static function get_exam_results_hotpotatoes_data( |
@@ -2179,7 +2180,7 @@ discard block |
||
2179 | 2180 | /** |
2180 | 2181 | * Return true if pass_pourcentage activated (we use the pass pourcentage feature |
2181 | 2182 | * return false if pass_percentage = 0 (we don't use the pass pourcentage feature |
2182 | - * @param $in_pass_pourcentage |
|
2183 | + * @param string $in_pass_pourcentage |
|
2183 | 2184 | * @return boolean |
2184 | 2185 | * In this version, pass_percentage and show_success_message are disabled if |
2185 | 2186 | * pass_percentage is set to 0 |
@@ -2192,7 +2193,7 @@ discard block |
||
2192 | 2193 | /** |
2193 | 2194 | * Converts a numeric value in a percentage example 0.66666 to 66.67 % |
2194 | 2195 | * @param $value |
2195 | - * @return float Converted number |
|
2196 | + * @return string Converted number |
|
2196 | 2197 | */ |
2197 | 2198 | public static function convert_to_percentage($value) |
2198 | 2199 | { |
@@ -2208,7 +2209,7 @@ discard block |
||
2208 | 2209 | * @param float $score |
2209 | 2210 | * @param float $weight |
2210 | 2211 | * @deprecated seem not to be used |
2211 | - * @return float the score rounded converted to the new range |
|
2212 | + * @return string|null the score rounded converted to the new range |
|
2212 | 2213 | */ |
2213 | 2214 | public static function convert_score($score, $weight) |
2214 | 2215 | { |
@@ -2759,6 +2760,7 @@ discard block |
||
2759 | 2760 | * @param int exercise id |
2760 | 2761 | * @param int $courseId |
2761 | 2762 | * @param int session id |
2763 | + * @param integer $user_count |
|
2762 | 2764 | * @return float Best average score |
2763 | 2765 | */ |
2764 | 2766 | public static function get_best_average_score_by_exercise( |
@@ -3198,8 +3200,9 @@ discard block |
||
3198 | 3200 | } |
3199 | 3201 | |
3200 | 3202 | /** |
3201 | - * @param array $answer |
|
3203 | + * @param string|null $answer |
|
3202 | 3204 | * @param string $user_answer |
3205 | + * @param string|null $current_answer |
|
3203 | 3206 | * @return array |
3204 | 3207 | */ |
3205 | 3208 | public static function check_fill_in_blanks($answer, $user_answer, $current_answer) |
@@ -3805,7 +3808,7 @@ discard block |
||
3805 | 3808 | |
3806 | 3809 | /** |
3807 | 3810 | * @param int $countLetter |
3808 | - * @return mixed |
|
3811 | + * @return string |
|
3809 | 3812 | */ |
3810 | 3813 | public static function detectInputAppropriateClass($countLetter) |
3811 | 3814 | { |
@@ -24,6 +24,10 @@ discard block |
||
24 | 24 | * @param int Question ID |
25 | 25 | * @param int $resultsDisabled |
26 | 26 | * @param string $originalStudentAnswer |
27 | + * @param integer $feedbackType |
|
28 | + * @param string $answer |
|
29 | + * @param integer $id |
|
30 | + * @param integer $questionId |
|
27 | 31 | * @return void |
28 | 32 | */ |
29 | 33 | public static function display_fill_in_blanks_answer($feedbackType, $answer, $id, $questionId, $resultsDisabled, $originalStudentAnswer = '') |
@@ -62,6 +66,10 @@ discard block |
||
62 | 66 | * @param string Answer text |
63 | 67 | * @param int Exercise ID |
64 | 68 | * @param int Question ID |
69 | + * @param integer $feedback_type |
|
70 | + * @param string $answer |
|
71 | + * @param integer $id |
|
72 | + * @param integer $questionId |
|
65 | 73 | * @return void |
66 | 74 | */ |
67 | 75 | static function display_calculated_answer($feedback_type, $answer, $id, $questionId) |
@@ -95,6 +103,9 @@ discard block |
||
95 | 103 | * @param string Answer text |
96 | 104 | * @param int Exercise ID |
97 | 105 | * @param int Question ID |
106 | + * @param integer $feedback_type |
|
107 | + * @param integer $exe_id |
|
108 | + * @param integer $questionId |
|
98 | 109 | * @return void |
99 | 110 | */ |
100 | 111 | static function display_free_answer($feedback_type, $answer, $exe_id, $questionId, $questionScore = null) |
@@ -117,6 +128,12 @@ discard block |
||
117 | 128 | } |
118 | 129 | } |
119 | 130 | |
131 | + /** |
|
132 | + * @param integer $feedback_type |
|
133 | + * @param integer $id |
|
134 | + * @param integer $questionId |
|
135 | + * @param Nanogong $nano |
|
136 | + */ |
|
120 | 137 | static function display_oral_expression_answer($feedback_type, $answer, $id, $questionId, $nano = null) |
121 | 138 | { |
122 | 139 | if (isset($nano)) { |
@@ -158,6 +175,7 @@ discard block |
||
158 | 175 | * @param string $answer |
159 | 176 | * @param string $studentChoice |
160 | 177 | * @param string $answerComment |
178 | + * @param integer $feedback_type |
|
161 | 179 | */ |
162 | 180 | static function display_hotspot_answer($feedback_type, $answerId, $answer, $studentChoice, $answerComment, $in_results_disabled) |
163 | 181 | { |
@@ -224,6 +242,12 @@ discard block |
||
224 | 242 | * @param integer Exercise ID |
225 | 243 | * @param integer Question ID |
226 | 244 | * @param boolean Whether to show the answer comment or not |
245 | + * @param integer $answerType |
|
246 | + * @param string $answer |
|
247 | + * @param string $answerComment |
|
248 | + * @param integer $answerCorrect |
|
249 | + * @param integer $id |
|
250 | + * @param integer $questionId |
|
227 | 251 | * @return void |
228 | 252 | */ |
229 | 253 | static function display_unique_or_multiple_answer( |
@@ -308,6 +332,13 @@ discard block |
||
308 | 332 | * @param integer Exercise ID |
309 | 333 | * @param integer Question ID |
310 | 334 | * @param boolean Whether to show the answer comment or not |
335 | + * @param integer $feedback_type |
|
336 | + * @param integer $answerType |
|
337 | + * @param string $answer |
|
338 | + * @param string $answerComment |
|
339 | + * @param integer $answerCorrect |
|
340 | + * @param integer $id |
|
341 | + * @param integer $questionId |
|
311 | 342 | * @return void |
312 | 343 | */ |
313 | 344 | static function display_multiple_answer_true_false( |
@@ -398,6 +429,13 @@ discard block |
||
398 | 429 | * @param integer Exercise ID |
399 | 430 | * @param integer Question ID |
400 | 431 | * @param boolean Whether to show the answer comment or not |
432 | + * @param integer $feedback_type |
|
433 | + * @param integer $answerType |
|
434 | + * @param string $answer |
|
435 | + * @param string $answerComment |
|
436 | + * @param integer $answerCorrect |
|
437 | + * @param integer $id |
|
438 | + * @param integer $questionId |
|
401 | 439 | * @return void |
402 | 440 | */ |
403 | 441 | static function display_multiple_answer_combination_true_false( |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | * @param string Name of common tag to place each line in |
158 | 158 | * @param string Name of the root element. A root element should always be given. |
159 | 159 | * @param string Encoding in which the data is provided |
160 | - * @return void Prompts the user for a file download |
|
160 | + * @return boolean Prompts the user for a file download |
|
161 | 161 | */ |
162 | 162 | public static function export_complex_table_xml( |
163 | 163 | $data, |
@@ -283,7 +283,7 @@ discard block |
||
283 | 283 | * @param string $name |
284 | 284 | * @param string $format |
285 | 285 | * |
286 | - * @return bool |
|
286 | + * @return false|null |
|
287 | 287 | */ |
288 | 288 | public static function htmlToOdt($html, $name, $format = 'odt') |
289 | 289 | { |