@@ -189,6 +189,9 @@ discard block |
||
| 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 |
||
| 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 | |
@@ -282,6 +288,10 @@ discard block |
||
| 282 | 288 | else return 1; |
| 283 | 289 | } |
| 284 | 290 | |
| 291 | +/** |
|
| 292 | + * @param string $URL |
|
| 293 | + * @param string $SALT |
|
| 294 | + */ |
|
| 285 | 295 | function bigbluebuttonbn_doDeleteRecordings( $recordIDs, $URL, $SALT ) { |
| 286 | 296 | $ids = explode(",", $recordIDs); |
| 287 | 297 | foreach( $ids as $id){ |
@@ -292,6 +302,11 @@ discard block |
||
| 292 | 302 | return true; |
| 293 | 303 | } |
| 294 | 304 | |
| 305 | +/** |
|
| 306 | + * @param string $set |
|
| 307 | + * @param string $URL |
|
| 308 | + * @param string $SALT |
|
| 309 | + */ |
|
| 295 | 310 | function bigbluebuttonbn_doPublishRecordings( $recordIDs, $set, $URL, $SALT ) { |
| 296 | 311 | $ids = explode(",", $recordIDs); |
| 297 | 312 | foreach( $ids as $id){ |
@@ -302,6 +317,10 @@ discard block |
||
| 302 | 317 | return true; |
| 303 | 318 | } |
| 304 | 319 | |
| 320 | +/** |
|
| 321 | + * @param string $URL |
|
| 322 | + * @param string $SALT |
|
| 323 | + */ |
|
| 305 | 324 | function bigbluebuttonbn_doEndMeeting( $meetingID, $modPW, $URL, $SALT ) { |
| 306 | 325 | $xml = bigbluebuttonbn_wrap_xml_load_file( bigbluebuttonbn_getEndMeetingURL( $meetingID, $modPW, $URL, $SALT ) ); |
| 307 | 326 | |
@@ -341,6 +360,9 @@ discard block |
||
| 341 | 360 | } |
| 342 | 361 | } |
| 343 | 362 | |
| 363 | +/** |
|
| 364 | + * @param string $url |
|
| 365 | + */ |
|
| 344 | 366 | function bigbluebuttonbn_wrap_xml_load_file($url, $method=BIGBLUEBUTTONBN_METHOD_GET, $data=null) { |
| 345 | 367 | if ( bigbluebuttonbn_debugdisplay() ) error_log("Request to: ".$url); |
| 346 | 368 | |
@@ -776,6 +798,9 @@ discard block |
||
| 776 | 798 | $cache = cache::make_from_params(cache_store::MODE_APPLICATION, 'mod_bigbluebuttonbn', 'meetings_cache'); |
| 777 | 799 | } |
| 778 | 800 | |
| 801 | +/** |
|
| 802 | + * @param boolean $is_moderator |
|
| 803 | + */ |
|
| 779 | 804 | function bigbluebuttonbn_bbb_broker_participant_joined($meetingid, $is_moderator) { |
| 780 | 805 | $cache = cache::make_from_params(cache_store::MODE_APPLICATION, 'mod_bigbluebuttonbn', 'meetings_cache'); |
| 781 | 806 | $result = $cache->get($meetingid); |
@@ -1362,6 +1387,9 @@ discard block |
||
| 1362 | 1387 | return (isset($BIGBLUEBUTTONBN_CFG->bigbluebuttonbn_recordingready_enabled)? $BIGBLUEBUTTONBN_CFG->bigbluebuttonbn_recordingready_enabled: (isset($CFG->bigbluebuttonbn_recordingready_enabled)? $CFG->bigbluebuttonbn_recordingready_enabled: false)); |
| 1363 | 1388 | } |
| 1364 | 1389 | |
| 1390 | +/** |
|
| 1391 | + * @return string |
|
| 1392 | + */ |
|
| 1365 | 1393 | function bigbluebuttonbn_get_cfg_moderator_default() { |
| 1366 | 1394 | global $BIGBLUEBUTTONBN_CFG, $CFG; |
| 1367 | 1395 | return (isset($BIGBLUEBUTTONBN_CFG->bigbluebuttonbn_moderator_default)? $BIGBLUEBUTTONBN_CFG->bigbluebuttonbn_moderator_default: (isset($CFG->bigbluebuttonbn_moderator_default)? $CFG->bigbluebuttonbn_moderator_default: 'owner')); |