Completed
Push — master ( 43b232...a6a187 )
by Jesus
02:48
created
locallib.php 1 patch
Doc Comments   +31 added lines patch added patch discarded remove patch
@@ -189,6 +189,9 @@  discard block
 block discarded – undo
189 189
     return $xml;
190 190
 }
191 191
 
192
+/**
193
+ * @param string $meetingID
194
+ */
192 195
 function bigbluebuttonbn_getMeetingInfoArray( $meetingID, $modPW, $URL, $SALT ) {
193 196
     $xml = bigbluebuttonbn_wrap_xml_load_file( bigbluebuttonbn_getMeetingInfoURL( $meetingID, $modPW, $URL, $SALT ) );
194 197
 
@@ -206,6 +209,9 @@  discard block
 block discarded – undo
206 209
     }
207 210
 }
208 211
 
212
+/**
213
+ * @param string $meetingIDs
214
+ */
209 215
 function bigbluebuttonbn_getRecordingsArray( $meetingIDs, $URL, $SALT ) {
210 216
     $recordings = array();
211 217
 
@@ -287,6 +293,10 @@  discard block
 block discarded – undo
287 293
     else return 1;
288 294
 }
289 295
 
296
+/**
297
+ * @param string $URL
298
+ * @param string $SALT
299
+ */
290 300
 function bigbluebuttonbn_doDeleteRecordings( $recordIDs, $URL, $SALT ) {
291 301
     $ids = 	explode(",", $recordIDs);
292 302
     foreach( $ids as $id){
@@ -297,6 +307,11 @@  discard block
 block discarded – undo
297 307
     return true;
298 308
 }
299 309
 
310
+/**
311
+ * @param string $set
312
+ * @param string $URL
313
+ * @param string $SALT
314
+ */
300 315
 function bigbluebuttonbn_doPublishRecordings( $recordIDs, $set, $URL, $SALT ) {
301 316
     $ids = 	explode(",", $recordIDs);
302 317
     foreach( $ids as $id){
@@ -307,6 +322,10 @@  discard block
 block discarded – undo
307 322
     return true;
308 323
 }
309 324
 
325
+/**
326
+ * @param string $URL
327
+ * @param string $SALT
328
+ */
310 329
 function bigbluebuttonbn_doEndMeeting( $meetingID, $modPW, $URL, $SALT ) {
311 330
     $xml = bigbluebuttonbn_wrap_xml_load_file( bigbluebuttonbn_getEndMeetingURL( $meetingID, $modPW, $URL, $SALT ) );
312 331
 
@@ -328,6 +347,9 @@  discard block
 block discarded – undo
328 347
 }
329 348
 
330 349
 
350
+/**
351
+ * @param string $URL
352
+ */
331 353
 function bigbluebuttonbn_getServerVersion( $URL ){
332 354
     $xml = bigbluebuttonbn_wrap_xml_load_file( $URL."api" );
333 355
     if ( $xml && $xml->returncode == 'SUCCESS' ) {
@@ -346,6 +368,9 @@  discard block
 block discarded – undo
346 368
     }
347 369
 }
348 370
 
371
+/**
372
+ * @param string $url
373
+ */
349 374
 function bigbluebuttonbn_wrap_xml_load_file($url, $method=BIGBLUEBUTTONBN_METHOD_GET, $data=null) {
350 375
     if ( bigbluebuttonbn_debugdisplay() ) error_log("Request to: ".$url);
351 376
 
@@ -781,6 +806,9 @@  discard block
 block discarded – undo
781 806
     $cache = cache::make_from_params(cache_store::MODE_APPLICATION, 'mod_bigbluebuttonbn', 'meetings_cache');
782 807
 }
783 808
 
809
+/**
810
+ * @param boolean $is_moderator
811
+ */
784 812
 function bigbluebuttonbn_bbb_broker_participant_joined($meetingid, $is_moderator) {
785 813
     $cache = cache::make_from_params(cache_store::MODE_APPLICATION, 'mod_bigbluebuttonbn', 'meetings_cache');
786 814
     $result = $cache->get($meetingid);
@@ -1365,6 +1393,9 @@  discard block
 block discarded – undo
1365 1393
     return (isset($BIGBLUEBUTTONBN_CFG->bigbluebuttonbn_recordingready_enabled)? $BIGBLUEBUTTONBN_CFG->bigbluebuttonbn_recordingready_enabled: (isset($CFG->bigbluebuttonbn_recordingready_enabled)? $CFG->bigbluebuttonbn_recordingready_enabled: false));
1366 1394
 }
1367 1395
 
1396
+/**
1397
+ * @return string
1398
+ */
1368 1399
 function bigbluebuttonbn_get_cfg_moderator_default() {
1369 1400
     global $BIGBLUEBUTTONBN_CFG, $CFG;
1370 1401
     return (isset($BIGBLUEBUTTONBN_CFG->bigbluebuttonbn_moderator_default)? $BIGBLUEBUTTONBN_CFG->bigbluebuttonbn_moderator_default: (isset($CFG->bigbluebuttonbn_moderator_default)? $CFG->bigbluebuttonbn_moderator_default: 'owner'));
Please login to merge, or discard this patch.