@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | * $return->time = the time they did it |
221 | 221 | * $return->info = a short text description. |
222 | 222 | * |
223 | - * @return bool |
|
223 | + * @return string |
|
224 | 224 | */ |
225 | 225 | function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) |
226 | 226 | { |
@@ -544,6 +544,11 @@ discard block |
||
544 | 544 | send_stored_file($file, 0, 0, $forcedownload, $options); // download MUST be forced - security! |
545 | 545 | } |
546 | 546 | |
547 | +/** |
|
548 | + * @param stdClass $course |
|
549 | + * @param stdClass $cm |
|
550 | + * @param stdClass $context |
|
551 | + */ |
|
547 | 552 | function bigbluebuttonbn_pluginfile_filename($course, $cm, $context, $args) |
548 | 553 | { |
549 | 554 | global $DB; |
@@ -642,6 +647,9 @@ discard block |
||
642 | 647 | bigbluebuttonbn_notification_send($USER, $bigbluebuttonbn, bigbluebuttonbn_notification_msg_html($msg)); |
643 | 648 | } |
644 | 649 | |
650 | +/** |
|
651 | + * @param stdClass $msg |
|
652 | + */ |
|
645 | 653 | function bigbluebuttonbn_notification_msg_html($msg) |
646 | 654 | { |
647 | 655 | $message_text = '<p>'.$msg->activity_type.' "'.$msg->activity_title.'" '.get_string('email_body_notification_meeting_has_been', 'bigbluebuttonbn').' '.$msg->action.'.</p>'."\n"; |
@@ -174,7 +174,7 @@ |
||
174 | 174 | * Sign a string with a given key and algorithm. |
175 | 175 | * |
176 | 176 | * @param string $msg The message to sign |
177 | - * @param string|resource $key The secret key |
|
177 | + * @param string $key The secret key |
|
178 | 178 | * @param string $alg The signing algorithm. |
179 | 179 | * Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256' |
180 | 180 | * |
@@ -276,6 +276,9 @@ discard block |
||
276 | 276 | $PAGE->requires->js_init_call('M.mod_bigbluebuttonbn.view_init', array(), false, $jsmodule); |
277 | 277 | } |
278 | 278 | |
279 | +/** |
|
280 | + * @param boolean $showrecordings |
|
281 | + */ |
|
279 | 282 | function bigbluebuttonbn_view_show_rooms($bbbsession, $activity, $showrecordings, &$jsvars) |
280 | 283 | { |
281 | 284 | global $OUTPUT; |
@@ -321,6 +324,10 @@ discard block |
||
321 | 324 | return $output; |
322 | 325 | } |
323 | 326 | |
327 | +/** |
|
328 | + * @param boolean $showroom |
|
329 | + * @param string[] $jsdependences |
|
330 | + */ |
|
324 | 331 | function bigbluebuttonbn_view_show_recordings($bbbsession, $showroom, &$jsvars, &$jsdependences) |
325 | 332 | { |
326 | 333 |