@@ -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) { |
@@ -181,6 +181,9 @@ discard block |
||
| 181 | 181 | return "{$params['callback']}({$callbackresponsedata});"; |
| 182 | 182 | } |
| 183 | 183 | |
| 184 | +/** |
|
| 185 | + * @param boolean $running |
|
| 186 | + */ |
|
| 184 | 187 | function bigbluebuttonbn_broker_meeting_info_can_join($bbbsession, $running, $participantcount) { |
| 185 | 188 | $status = array("can_join" => false); |
| 186 | 189 | if ($running) { |
@@ -201,6 +204,9 @@ discard block |
||
| 201 | 204 | return $status; |
| 202 | 205 | } |
| 203 | 206 | |
| 207 | +/** |
|
| 208 | + * @param boolean $running |
|
| 209 | + */ |
|
| 204 | 210 | function bigbluebuttonbn_broker_meeting_info_can_end($bbbsession, $running) { |
| 205 | 211 | if ($running && ($bbbsession['administrator'] || $bbbsession['moderator'])) { |
| 206 | 212 | return array("can_end" => true); |
@@ -337,6 +343,9 @@ discard block |
||
| 337 | 343 | return "{$params['callback']}({$callbackresponsedata});"; |
| 338 | 344 | } |
| 339 | 345 | |
| 346 | +/** |
|
| 347 | + * @param string $action |
|
| 348 | + */ |
|
| 340 | 349 | function bigbluebuttonbn_broker_recording_action_perform($action, $params, $recordings) { |
| 341 | 350 | if ($action == 'recording_publish') { |
| 342 | 351 | return bigbluebuttonbn_broker_recording_action_publish($params, $recordings); |