Completed
Push — master ( 12ecea...43b232 )
by Jesus
03:32
created
locallib.php 1 patch
Doc Comments   +28 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
 
@@ -287,6 +290,10 @@  discard block
 block discarded – undo
287 290
     else return 1;
288 291
 }
289 292
 
293
+/**
294
+ * @param string $URL
295
+ * @param string $SALT
296
+ */
290 297
 function bigbluebuttonbn_doDeleteRecordings( $recordIDs, $URL, $SALT ) {
291 298
     $ids = 	explode(",", $recordIDs);
292 299
     foreach( $ids as $id){
@@ -297,6 +304,11 @@  discard block
 block discarded – undo
297 304
     return true;
298 305
 }
299 306
 
307
+/**
308
+ * @param string $set
309
+ * @param string $URL
310
+ * @param string $SALT
311
+ */
300 312
 function bigbluebuttonbn_doPublishRecordings( $recordIDs, $set, $URL, $SALT ) {
301 313
     $ids = 	explode(",", $recordIDs);
302 314
     foreach( $ids as $id){
@@ -307,6 +319,10 @@  discard block
 block discarded – undo
307 319
     return true;
308 320
 }
309 321
 
322
+/**
323
+ * @param string $URL
324
+ * @param string $SALT
325
+ */
310 326
 function bigbluebuttonbn_doEndMeeting( $meetingID, $modPW, $URL, $SALT ) {
311 327
     $xml = bigbluebuttonbn_wrap_xml_load_file( bigbluebuttonbn_getEndMeetingURL( $meetingID, $modPW, $URL, $SALT ) );
312 328
 
@@ -328,6 +344,9 @@  discard block
 block discarded – undo
328 344
 }
329 345
 
330 346
 
347
+/**
348
+ * @param string $URL
349
+ */
331 350
 function bigbluebuttonbn_getServerVersion( $URL ){
332 351
     $xml = bigbluebuttonbn_wrap_xml_load_file( $URL."api" );
333 352
     if ( $xml && $xml->returncode == 'SUCCESS' ) {
@@ -346,6 +365,9 @@  discard block
 block discarded – undo
346 365
     }
347 366
 }
348 367
 
368
+/**
369
+ * @param string $url
370
+ */
349 371
 function bigbluebuttonbn_wrap_xml_load_file($url, $method=BIGBLUEBUTTONBN_METHOD_GET, $data=null) {
350 372
     if ( bigbluebuttonbn_debugdisplay() ) error_log("Request to: ".$url);
351 373
 
@@ -781,6 +803,9 @@  discard block
 block discarded – undo
781 803
     $cache = cache::make_from_params(cache_store::MODE_APPLICATION, 'mod_bigbluebuttonbn', 'meetings_cache');
782 804
 }
783 805
 
806
+/**
807
+ * @param boolean $is_moderator
808
+ */
784 809
 function bigbluebuttonbn_bbb_broker_participant_joined($meetingid, $is_moderator) {
785 810
     $cache = cache::make_from_params(cache_store::MODE_APPLICATION, 'mod_bigbluebuttonbn', 'meetings_cache');
786 811
     $result = $cache->get($meetingid);
@@ -1370,6 +1395,9 @@  discard block
 block discarded – undo
1370 1395
     return (isset($BIGBLUEBUTTONBN_CFG->bigbluebuttonbn_recordingready_enabled)? $BIGBLUEBUTTONBN_CFG->bigbluebuttonbn_recordingready_enabled: (isset($CFG->bigbluebuttonbn_recordingready_enabled)? $CFG->bigbluebuttonbn_recordingready_enabled: false));
1371 1396
 }
1372 1397
 
1398
+/**
1399
+ * @return string
1400
+ */
1373 1401
 function bigbluebuttonbn_get_cfg_moderator_default() {
1374 1402
     global $BIGBLUEBUTTONBN_CFG, $CFG;
1375 1403
     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.