@@ -187,6 +187,7 @@ discard block |
||
187 | 187 | * Reads answer information from the data base ordered by parameter |
188 | 188 | * @param string Field we want to order by |
189 | 189 | * @param string DESC or ASC |
190 | + * @param string $field |
|
190 | 191 | * @author Frederic Vauthier |
191 | 192 | */ |
192 | 193 | public function readOrderedBy($field, $order='ASC') |
@@ -308,6 +309,7 @@ discard block |
||
308 | 309 | * returns the question ID of the destination question |
309 | 310 | * |
310 | 311 | * @author Julio Montoya |
312 | + * @param integer $id |
|
311 | 313 | * @return integer - the question ID |
312 | 314 | */ |
313 | 315 | public function selectDestination($id) |
@@ -329,6 +331,7 @@ discard block |
||
329 | 331 | |
330 | 332 | /** |
331 | 333 | * return array answer by id else return a bool |
334 | + * @param integer $auto_id |
|
332 | 335 | */ |
333 | 336 | public function selectAnswerByAutoId($auto_id) |
334 | 337 | { |
@@ -467,6 +470,7 @@ discard block |
||
467 | 470 | * |
468 | 471 | * @author Olivier Brouckaert |
469 | 472 | * @param - integer $id - answer ID |
473 | + * @param integer $id |
|
470 | 474 | * @return integer - answer weighting |
471 | 475 | */ |
472 | 476 | public function selectWeighting($id) |
@@ -491,6 +495,7 @@ discard block |
||
491 | 495 | * |
492 | 496 | * @author Olivier Brouckaert |
493 | 497 | * @param integer Answer ID |
498 | + * @param integer $id |
|
494 | 499 | * @return integer Answer position |
495 | 500 | */ |
496 | 501 | public function selectHotspotCoordinates($id) |
@@ -503,6 +508,7 @@ discard block |
||
503 | 508 | * |
504 | 509 | * @author Toon Keppens |
505 | 510 | * @param integer Answer ID |
511 | + * @param integer $id |
|
506 | 512 | * @return integer Answer position |
507 | 513 | */ |
508 | 514 | public function selectHotspotType($id) |
@@ -729,6 +735,7 @@ discard block |
||
729 | 735 | * @author Olivier Brouckaert |
730 | 736 | * @param int question id |
731 | 737 | * @param array destination course info (result of the function api_get_course_info() ) |
738 | + * @param string $newQuestionId |
|
732 | 739 | */ |
733 | 740 | public function duplicate($newQuestionId, $course_info = null) |
734 | 741 | { |