Completed
Push — master ( 32c9ae...514091 )
by Jesus
04:47
created
lib.php 1 patch
Doc Comments   +12 added lines, -1 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
  * $return->time = the time they did it
227 227
  * $return->info = a short text description.
228 228
  *
229
- * @return bool
229
+ * @return string
230 230
  */
231 231
 function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) {
232 232
     global $DB;
@@ -315,6 +315,9 @@  discard block
 block discarded – undo
315 315
     }
316 316
 }
317 317
 
318
+/**
319
+ * @param integer $now
320
+ */
318 321
 function bigbluebuttonbn_print_overview_element($bigbluebuttonbn, $now) {
319 322
     global $CFG;
320 323
 
@@ -550,6 +553,11 @@  discard block
 block discarded – undo
550 553
     send_stored_file($file, 0, 0, $forcedownload, $options); // download MUST be forced - security!
551 554
 }
552 555
 
556
+/**
557
+ * @param stdClass $course
558
+ * @param stdClass $cm
559
+ * @param stdClass $context
560
+ */
553 561
 function bigbluebuttonbn_pluginfile_filename($course, $cm, $context, $args) {
554 562
     global $DB;
555 563
 
@@ -644,6 +652,9 @@  discard block
 block discarded – undo
644 652
     bigbluebuttonbn_notification_send($USER, $bigbluebuttonbn, bigbluebuttonbn_notification_msg_html($msg));
645 653
 }
646 654
 
655
+/**
656
+ * @param stdClass $msg
657
+ */
647 658
 function bigbluebuttonbn_notification_msg_html($msg) {
648 659
     $messagetext = '<p>'.$msg->activity_type.' &quot;'.$msg->activity_title.'&quot; '.
649 660
         get_string('email_body_notification_meeting_has_been', 'bigbluebuttonbn').' '.$msg->action.'.</p>'."\n";
Please login to merge, or discard this patch.
bbb_broker.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -179,6 +179,9 @@  discard block
 block discarded – undo
179 179
     return "{$params['callback']}({$callbackresponsedata});";
180 180
 }
181 181
 
182
+/**
183
+ * @param boolean $running
184
+ */
182 185
 function bigbluebuttonbn_broker_meeting_info_can_join($bbbsession, $running, $participantcount) {
183 186
     $status = array("can_join" => false);
184 187
     if ($running) {
@@ -199,6 +202,9 @@  discard block
 block discarded – undo
199 202
     return $status;
200 203
 }
201 204
 
205
+/**
206
+ * @param boolean $running
207
+ */
202 208
 function bigbluebuttonbn_broker_meeting_info_can_end($bbbsession, $running) {
203 209
     $status = array("can_end" => false);
204 210
     if ($running && ($bbbsession['administrator'] || $bbbsession['moderator'])) {
@@ -345,6 +351,9 @@  discard block
 block discarded – undo
345 351
     return "{$params['callback']}({$callbackresponsedata});";
346 352
 }
347 353
 
354
+/**
355
+ * @param string $action
356
+ */
348 357
 function bigbluebuttonbn_broker_recording_action_perform($action, $bbbsession, $params, $recordings) {
349 358
     if ($action == 'recording_publish') {
350 359
         return bigbluebuttonbn_broker_recording_action_publish($bbbsession, $params, $recordings);
Please login to merge, or discard this patch.