@@ -317,7 +317,7 @@ discard block |
||
| 317 | 317 | * Helper function to retrieve imported recordings from the Moodle database. |
| 318 | 318 | * The references are stored as events in bigbluebuttonbn_logs. |
| 319 | 319 | * |
| 320 | - * @param string $courseid |
|
| 320 | + * @param integer $courseid |
|
| 321 | 321 | * @param string $bigbluebuttonbnid |
| 322 | 322 | * @param bool $subset |
| 323 | 323 | * |
@@ -345,7 +345,7 @@ discard block |
||
| 345 | 345 | /** |
| 346 | 346 | * Helper function to retrive the default config.xml file. |
| 347 | 347 | * |
| 348 | - * @return string |
|
| 348 | + * @return null|SimpleXMLElement |
|
| 349 | 349 | */ |
| 350 | 350 | function bigbluebuttonbn_get_default_config_xml() { |
| 351 | 351 | $xml = bigbluebuttonbn_wrap_xml_load_file( |
@@ -427,7 +427,7 @@ discard block |
||
| 427 | 427 | * @param object $a |
| 428 | 428 | * @param object $b |
| 429 | 429 | * |
| 430 | - * @return array |
|
| 430 | + * @return integer |
|
| 431 | 431 | */ |
| 432 | 432 | function bigbluebuttonbn_recording_build_sorter($a, $b) { |
| 433 | 433 | global $CFG; |
@@ -541,7 +541,7 @@ discard block |
||
| 541 | 541 | * @param string $data |
| 542 | 542 | * @param string $contenttype |
| 543 | 543 | * |
| 544 | - * @return object |
|
| 544 | + * @return null|SimpleXMLElement |
|
| 545 | 545 | */ |
| 546 | 546 | function bigbluebuttonbn_wrap_xml_load_file($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
| 547 | 547 | if (extension_loaded('curl')) { |
@@ -582,7 +582,7 @@ discard block |
||
| 582 | 582 | * @param string $data |
| 583 | 583 | * @param string $contenttype |
| 584 | 584 | * |
| 585 | - * @return object |
|
| 585 | + * @return string |
|
| 586 | 586 | */ |
| 587 | 587 | function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
| 588 | 588 | global $CFG; |
@@ -974,7 +974,7 @@ discard block |
||
| 974 | 974 | * @param integer $instance |
| 975 | 975 | * @param integer $voicebridge |
| 976 | 976 | * |
| 977 | - * @return string |
|
| 977 | + * @return boolean |
|
| 978 | 978 | */ |
| 979 | 979 | function bigbluebuttonbn_voicebridge_unique($instance, $voicebridge) { |
| 980 | 980 | global $DB; |
@@ -1322,7 +1322,7 @@ discard block |
||
| 1322 | 1322 | * @param string $meetingid |
| 1323 | 1323 | * @param string $configxml |
| 1324 | 1324 | * |
| 1325 | - * @return object |
|
| 1325 | + * @return null|SimpleXMLElement |
|
| 1326 | 1326 | */ |
| 1327 | 1327 | function bigbluebuttonbn_set_config_xml($meetingid, $configxml) { |
| 1328 | 1328 | $urldefaultconfig = \mod_bigbluebuttonbn\locallib\config::get('server_url') . 'api/setConfigXML?'; |
@@ -1376,7 +1376,7 @@ discard block |
||
| 1376 | 1376 | * @param array $recording |
| 1377 | 1377 | * @param array $tools |
| 1378 | 1378 | * |
| 1379 | - * @return array |
|
| 1379 | + * @return null|stdClass |
|
| 1380 | 1380 | */ |
| 1381 | 1381 | function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete']) { |
| 1382 | 1382 | if (!bigbluebuttonbn_include_recording_table_row($bbbsession, $recording)) { |
@@ -2018,7 +2018,7 @@ discard block |
||
| 2018 | 2018 | * |
| 2019 | 2019 | * @param array $bbbsession |
| 2020 | 2020 | * @param array $recording |
| 2021 | - * @param object $rowdata |
|
| 2021 | + * @param stdClass $rowdata |
|
| 2022 | 2022 | * |
| 2023 | 2023 | * @return object |
| 2024 | 2024 | */ |
@@ -2215,7 +2215,7 @@ discard block |
||
| 2215 | 2215 | * |
| 2216 | 2216 | * @param array $bbbsession |
| 2217 | 2217 | * @param array $recordings |
| 2218 | - * @param array $tools |
|
| 2218 | + * @param string[] $tools |
|
| 2219 | 2219 | * |
| 2220 | 2220 | * @return array |
| 2221 | 2221 | */ |
@@ -2296,7 +2296,7 @@ discard block |
||
| 2296 | 2296 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
| 2297 | 2297 | * in the getRecordings request considering only those that belong to deleted activities. |
| 2298 | 2298 | * |
| 2299 | - * @param string $courseid |
|
| 2299 | + * @param integer $courseid |
|
| 2300 | 2300 | * @param string $bigbluebuttonbnid |
| 2301 | 2301 | * @param bool $subset |
| 2302 | 2302 | * |
@@ -2320,7 +2320,7 @@ discard block |
||
| 2320 | 2320 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
| 2321 | 2321 | * in the getRecordings request considering only those that belong to imported recordings. |
| 2322 | 2322 | * |
| 2323 | - * @param string $courseid |
|
| 2323 | + * @param integer $courseid |
|
| 2324 | 2324 | * @param string $bigbluebuttonbnid |
| 2325 | 2325 | * @param bool $subset |
| 2326 | 2326 | * |
@@ -2343,7 +2343,7 @@ discard block |
||
| 2343 | 2343 | /** |
| 2344 | 2344 | * Helper function to get recordings and imported recordings together. |
| 2345 | 2345 | * |
| 2346 | - * @param string $courseid |
|
| 2346 | + * @param integer $courseid |
|
| 2347 | 2347 | * @param string $bigbluebuttonbnid |
| 2348 | 2348 | * @param bool $subset |
| 2349 | 2349 | * @param bool $includedeleted |
@@ -2361,7 +2361,7 @@ discard block |
||
| 2361 | 2361 | * Helper function to retrieve recordings from the BigBlueButton. The references are stored as events |
| 2362 | 2362 | * in bigbluebuttonbn_logs. |
| 2363 | 2363 | * |
| 2364 | - * @param string $courseid |
|
| 2364 | + * @param integer $courseid |
|
| 2365 | 2365 | * @param string $bigbluebuttonbnid |
| 2366 | 2366 | * @param bool $subset |
| 2367 | 2367 | * @param bool $includedeleted |