Completed
Push — master ( 349780...c2fbdd )
by Jesus
02:08
created
locallib.php 1 patch
Doc Comments   +22 added lines patch added patch discarded remove patch
@@ -561,6 +561,12 @@  discard block
 block discarded – undo
561 561
     }
562 562
 }
563 563
 
564
+/**
565
+ * @param string $url
566
+ * @param string $data
567
+ *
568
+ * @return string
569
+ */
564 570
 function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = BIGBLUEBUTTONBN_METHOD_GET,
565 571
     $data = null, $contenttype = 'text/xml') {
566 572
     $c = new curl();
@@ -736,6 +742,9 @@  discard block
 block discarded – undo
736 742
       ];
737 743
 }
738 744
 
745
+/**
746
+ * @param string $participants
747
+ */
739 748
 function bigbluebuttonbn_is_moderator($context, $participants, $userid = null, $userroles = null) {
740 749
     global $USER;
741 750
     if (empty($participants)) {
@@ -1192,6 +1201,9 @@  discard block
 block discarded – undo
1192 1201
     return $recordingtypes;
1193 1202
 }
1194 1203
 
1204
+/**
1205
+ * @param boolean $editable
1206
+ */
1195 1207
 function bigbluebuttonbn_get_recording_data_row_meta_activity($recording, $editable) {
1196 1208
     $payload = array();
1197 1209
     if ($editable) {
@@ -1212,6 +1224,9 @@  discard block
 block discarded – undo
1212 1224
     return bigbluebuttonbn_get_recording_data_row_text($recording, $recording['meetingName'], $payload);
1213 1225
 }
1214 1226
 
1227
+/**
1228
+ * @param boolean $editable
1229
+ */
1215 1230
 function bigbluebuttonbn_get_recording_data_row_meta_description($recording, $editable) {
1216 1231
     $payload = array();
1217 1232
     if ($editable) {
@@ -1476,6 +1491,9 @@  discard block
 block discarded – undo
1476 1491
     return html_writer::div(html_writer::table($table), '', array('id' => 'bigbluebuttonbn_html_table'));
1477 1492
 }
1478 1493
 
1494
+/**
1495
+ * @param integer $len
1496
+ */
1479 1497
 function bigbluebuttonbn_html2text($html, $len) {
1480 1498
     $text = strip_tags($html);
1481 1499
     $text = str_replace(' ', ' ', $text);
@@ -1520,6 +1538,10 @@  discard block
 block discarded – undo
1520 1538
     return "id <> '{$bigbluebuttonbnid}' AND course = '{$courseid}'";
1521 1539
 }
1522 1540
 
1541
+/**
1542
+ * @param string $courseid
1543
+ * @param string $bigbluebuttonbnid
1544
+ */
1523 1545
 function bigbluebuttonbn_get_recordings_sql_selectdeleted($courseid, $bigbluebuttonbnid = null, $subset = true) {
1524 1546
     if ($bigbluebuttonbnid === null) {
1525 1547
         return "courseid = '{$courseid}' AND log = '".BIGBLUEBUTTONBN_LOG_EVENT_DELETE.
Please login to merge, or discard this patch.