Completed
Push — master ( 1d1df5...87b1fe )
by Jesus
07:01
created
lib.php 1 patch
Doc Comments   +14 added lines, -1 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.
locallib.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@  discard block
 block discarded – undo
56 56
 const BIGBLUEBUTTON_EVENT_RECORDING_EDITED = 'recording_edited';
57 57
 const BIGBLUEBUTTON_EVENT_RECORDING_VIEWED = 'recording_viewed';
58 58
 
59
+/**
60
+ * @param string $meta
61
+ */
59 62
 function bigbluebuttonbn_logs(array $bbbsession, $event, array $overrides = [], $meta = null) {
60 63
     global $DB;
61 64
 
@@ -580,6 +583,12 @@  discard block
 block discarded – undo
580 583
     }
581 584
 }
582 585
 
586
+/**
587
+ * @param string $url
588
+ * @param string $data
589
+ *
590
+ * @return string
591
+ */
583 592
 function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = BIGBLUEBUTTONBN_METHOD_GET,
584 593
     $data = null, $contenttype = 'text/xml') {
585 594
     $c = new curl();
@@ -1515,6 +1524,9 @@  discard block
 block discarded – undo
1515 1524
     return html_writer::div(html_writer::table($table), '', array('id' => 'bigbluebuttonbn_html_table'));
1516 1525
 }
1517 1526
 
1527
+/**
1528
+ * @param integer $len
1529
+ */
1518 1530
 function bigbluebuttonbn_html2text($html, $len) {
1519 1531
     $text = strip_tags($html);
1520 1532
     $text = str_replace(' ', ' ', $text);
Please login to merge, or discard this patch.