@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | * $return->time = the time they did it |
228 | 228 | * $return->info = a short text description. |
229 | 229 | * |
230 | - * @return bool |
|
230 | + * @return string |
|
231 | 231 | */ |
232 | 232 | function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) { |
233 | 233 | global $DB; |
@@ -317,6 +317,9 @@ discard block |
||
317 | 317 | } |
318 | 318 | } |
319 | 319 | |
320 | +/** |
|
321 | + * @param integer $now |
|
322 | + */ |
|
320 | 323 | function bigbluebuttonbn_print_overview_element($bigbluebuttonbn, $now) { |
321 | 324 | global $CFG; |
322 | 325 | |
@@ -542,6 +545,10 @@ discard block |
||
542 | 545 | send_stored_file($file, 0, 0, $forcedownload, $options); // download MUST be forced - security! |
543 | 546 | } |
544 | 547 | |
548 | +/** |
|
549 | + * @param stdClass $context |
|
550 | + * @param string $filearea |
|
551 | + */ |
|
545 | 552 | function bigbluebuttonbn_pluginfile_valid($context, $filearea) { |
546 | 553 | if ($context->contextlevel != CONTEXT_MODULE) { |
547 | 554 | return false; |
@@ -558,6 +565,12 @@ discard block |
||
558 | 565 | return true; |
559 | 566 | } |
560 | 567 | |
568 | +/** |
|
569 | + * @param stdClass $course |
|
570 | + * @param stdClass $cm |
|
571 | + * @param stdClass $context |
|
572 | + * @param string $filearea |
|
573 | + */ |
|
561 | 574 | function bigbluebuttonbn_pluginfile_file($course, $cm, $context, $filearea, $args) { |
562 | 575 | $filename = bigbluebuttonbn_pluginfile_filename($course, $cm, $context, $args); |
563 | 576 | if (!$filename) { |