@@ -326,7 +326,7 @@ discard block |
||
| 326 | 326 | * Helper function to retrieve imported recordings from the Moodle database. |
| 327 | 327 | * The references are stored as events in bigbluebuttonbn_logs. |
| 328 | 328 | * |
| 329 | - * @param string $courseid |
|
| 329 | + * @param integer $courseid |
|
| 330 | 330 | * @param string $bigbluebuttonbnid |
| 331 | 331 | * @param bool $subset |
| 332 | 332 | * |
@@ -354,7 +354,7 @@ discard block |
||
| 354 | 354 | /** |
| 355 | 355 | * Helper function to retrive the default config.xml file. |
| 356 | 356 | * |
| 357 | - * @return string |
|
| 357 | + * @return null|SimpleXMLElement |
|
| 358 | 358 | */ |
| 359 | 359 | function bigbluebuttonbn_get_default_config_xml() { |
| 360 | 360 | $xml = bigbluebuttonbn_wrap_xml_load_file( |
@@ -436,7 +436,7 @@ discard block |
||
| 436 | 436 | * @param object $a |
| 437 | 437 | * @param object $b |
| 438 | 438 | * |
| 439 | - * @return array |
|
| 439 | + * @return integer |
|
| 440 | 440 | */ |
| 441 | 441 | function bigbluebuttonbn_recording_build_sorter($a, $b) { |
| 442 | 442 | global $CFG; |
@@ -550,7 +550,7 @@ discard block |
||
| 550 | 550 | * @param string $data |
| 551 | 551 | * @param string $contenttype |
| 552 | 552 | * |
| 553 | - * @return object |
|
| 553 | + * @return null|SimpleXMLElement |
|
| 554 | 554 | */ |
| 555 | 555 | function bigbluebuttonbn_wrap_xml_load_file($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
| 556 | 556 | if (extension_loaded('curl')) { |
@@ -591,7 +591,7 @@ discard block |
||
| 591 | 591 | * @param string $data |
| 592 | 592 | * @param string $contenttype |
| 593 | 593 | * |
| 594 | - * @return object |
|
| 594 | + * @return string |
|
| 595 | 595 | */ |
| 596 | 596 | function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
| 597 | 597 | global $CFG; |
@@ -1008,7 +1008,7 @@ discard block |
||
| 1008 | 1008 | * @param integer $instance |
| 1009 | 1009 | * @param integer $voicebridge |
| 1010 | 1010 | * |
| 1011 | - * @return string |
|
| 1011 | + * @return boolean |
|
| 1012 | 1012 | */ |
| 1013 | 1013 | function bigbluebuttonbn_voicebridge_unique($instance, $voicebridge) { |
| 1014 | 1014 | global $DB; |
@@ -1355,9 +1355,8 @@ discard block |
||
| 1355 | 1355 | * |
| 1356 | 1356 | * @param string $meetingid |
| 1357 | 1357 | * @param string $configxml |
| 1358 | - * @param string $server |
|
| 1359 | 1358 | * |
| 1360 | - * @return object |
|
| 1359 | + * @return null|SimpleXMLElement |
|
| 1361 | 1360 | */ |
| 1362 | 1361 | function bigbluebuttonbn_set_config_xml($meetingid, $configxml) { |
| 1363 | 1362 | $urldefaultconfig = \mod_bigbluebuttonbn\locallib\config::get('server_url') . 'api/setConfigXML?'; |
@@ -1376,7 +1375,6 @@ discard block |
||
| 1376 | 1375 | * |
| 1377 | 1376 | * @param string $meetingid |
| 1378 | 1377 | * @param string $configxml |
| 1379 | - * @param string $server |
|
| 1380 | 1378 | * |
| 1381 | 1379 | * @return string |
| 1382 | 1380 | */ |
@@ -1412,7 +1410,7 @@ discard block |
||
| 1412 | 1410 | * @param array $recording |
| 1413 | 1411 | * @param array $tools |
| 1414 | 1412 | * |
| 1415 | - * @return array |
|
| 1413 | + * @return null|stdClass |
|
| 1416 | 1414 | */ |
| 1417 | 1415 | function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete']) { |
| 1418 | 1416 | if (!bigbluebuttonbn_include_recording_table_row($bbbsession, $recording)) { |
@@ -1996,7 +1994,7 @@ discard block |
||
| 1996 | 1994 | * |
| 1997 | 1995 | * @param array $bbbsession |
| 1998 | 1996 | * @param array $recording |
| 1999 | - * @param object $rowdata |
|
| 1997 | + * @param stdClass $rowdata |
|
| 2000 | 1998 | * |
| 2001 | 1999 | * @return object |
| 2002 | 2000 | */ |
@@ -2226,7 +2224,7 @@ discard block |
||
| 2226 | 2224 | * |
| 2227 | 2225 | * @param array $bbbsession |
| 2228 | 2226 | * @param array $recordings |
| 2229 | - * @param array $tools |
|
| 2227 | + * @param string[] $tools |
|
| 2230 | 2228 | * |
| 2231 | 2229 | * @return array |
| 2232 | 2230 | */ |
@@ -2307,7 +2305,7 @@ discard block |
||
| 2307 | 2305 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
| 2308 | 2306 | * in the getRecordings request considering only those that belong to deleted activities. |
| 2309 | 2307 | * |
| 2310 | - * @param string $courseid |
|
| 2308 | + * @param integer $courseid |
|
| 2311 | 2309 | * @param string $bigbluebuttonbnid |
| 2312 | 2310 | * @param bool $subset |
| 2313 | 2311 | * |
@@ -2331,7 +2329,7 @@ discard block |
||
| 2331 | 2329 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
| 2332 | 2330 | * in the getRecordings request considering only those that belong to imported recordings. |
| 2333 | 2331 | * |
| 2334 | - * @param string $courseid |
|
| 2332 | + * @param integer $courseid |
|
| 2335 | 2333 | * @param string $bigbluebuttonbnid |
| 2336 | 2334 | * @param bool $subset |
| 2337 | 2335 | * |
@@ -2354,7 +2352,7 @@ discard block |
||
| 2354 | 2352 | /** |
| 2355 | 2353 | * Helper function to get recordings and imported recordings together. |
| 2356 | 2354 | * |
| 2357 | - * @param string $courseid |
|
| 2355 | + * @param integer $courseid |
|
| 2358 | 2356 | * @param string $bigbluebuttonbnid |
| 2359 | 2357 | * @param bool $subset |
| 2360 | 2358 | * @param bool $includedeleted |
@@ -2372,7 +2370,7 @@ discard block |
||
| 2372 | 2370 | * Helper function to retrieve recordings from the BigBlueButton. The references are stored as events |
| 2373 | 2371 | * in bigbluebuttonbn_logs. |
| 2374 | 2372 | * |
| 2375 | - * @param string $courseid |
|
| 2373 | + * @param integer $courseid |
|
| 2376 | 2374 | * @param string $bigbluebuttonbnid |
| 2377 | 2375 | * @param bool $subset |
| 2378 | 2376 | * @param bool $includedeleted |