@@ -292,7 +292,7 @@ discard block |
||
292 | 292 | * Helper function to retrieve imported recordings from the Moodle database. |
293 | 293 | * The references are stored as events in bigbluebuttonbn_logs. |
294 | 294 | * |
295 | - * @param string $courseid |
|
295 | + * @param integer $courseid |
|
296 | 296 | * @param string $bigbluebuttonbnid |
297 | 297 | * @param bool $subset |
298 | 298 | * |
@@ -320,7 +320,7 @@ discard block |
||
320 | 320 | /** |
321 | 321 | * Helper function to retrive the default config.xml file. |
322 | 322 | * |
323 | - * @return string |
|
323 | + * @return null|SimpleXMLElement |
|
324 | 324 | */ |
325 | 325 | function bigbluebuttonbn_get_default_config_xml() { |
326 | 326 | $xml = bigbluebuttonbn_wrap_xml_load_file( |
@@ -391,7 +391,7 @@ discard block |
||
391 | 391 | * @param object $a |
392 | 392 | * @param object $b |
393 | 393 | * |
394 | - * @return array |
|
394 | + * @return integer |
|
395 | 395 | */ |
396 | 396 | function bigbluebuttonbn_recording_build_sorter($a, $b) { |
397 | 397 | if ($a['startTime'] < $b['startTime']) { |
@@ -517,7 +517,7 @@ discard block |
||
517 | 517 | * @param string $data |
518 | 518 | * @param string $contenttype |
519 | 519 | * |
520 | - * @return object |
|
520 | + * @return null|SimpleXMLElement |
|
521 | 521 | */ |
522 | 522 | function bigbluebuttonbn_wrap_xml_load_file($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
523 | 523 | if (extension_loaded('curl')) { |
@@ -558,7 +558,7 @@ discard block |
||
558 | 558 | * @param string $data |
559 | 559 | * @param string $contenttype |
560 | 560 | * |
561 | - * @return object |
|
561 | + * @return string |
|
562 | 562 | */ |
563 | 563 | function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
564 | 564 | $c = new curl(); |
@@ -922,7 +922,7 @@ discard block |
||
922 | 922 | * |
923 | 923 | * @param integer $voicebridge |
924 | 924 | * |
925 | - * @return string |
|
925 | + * @return boolean |
|
926 | 926 | */ |
927 | 927 | function bigbluebuttonbn_voicebridge_unique($voicebridge) { |
928 | 928 | global $DB; |
@@ -1021,7 +1021,7 @@ discard block |
||
1021 | 1021 | /** |
1022 | 1022 | * Helper returns an array with all possible bigbluebuttonbn events. |
1023 | 1023 | * |
1024 | - * @return array |
|
1024 | + * @return string[] |
|
1025 | 1025 | */ |
1026 | 1026 | function bigbluebuttonbn_events() { |
1027 | 1027 | return array( |
@@ -1230,7 +1230,7 @@ discard block |
||
1230 | 1230 | * @param string $meetingid |
1231 | 1231 | * @param string $configxml |
1232 | 1232 | * |
1233 | - * @return object |
|
1233 | + * @return null|SimpleXMLElement |
|
1234 | 1234 | */ |
1235 | 1235 | function bigbluebuttonbn_set_config_xml($meetingid, $configxml) { |
1236 | 1236 | $urldefaultconfig = \mod_bigbluebuttonbn\locallib\config::get('server_url').'api/setConfigXML?'; |
@@ -1279,7 +1279,7 @@ discard block |
||
1279 | 1279 | * @param array $recording |
1280 | 1280 | * @param array $tools |
1281 | 1281 | * |
1282 | - * @return array |
|
1282 | + * @return null|stdClass |
|
1283 | 1283 | */ |
1284 | 1284 | function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete']) { |
1285 | 1285 | if (!bigbluebuttonbn_include_recording_table_row($bbbsession, $recording)) { |
@@ -1781,7 +1781,7 @@ discard block |
||
1781 | 1781 | * |
1782 | 1782 | * @param array $bbbsession |
1783 | 1783 | * @param array $recording |
1784 | - * @param object $rowdata |
|
1784 | + * @param stdClass $rowdata |
|
1785 | 1785 | * |
1786 | 1786 | * @return object |
1787 | 1787 | */ |
@@ -1969,7 +1969,7 @@ discard block |
||
1969 | 1969 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
1970 | 1970 | * in the getRecordings request considering only those that belong to deleted activities. |
1971 | 1971 | * |
1972 | - * @param string $courseid |
|
1972 | + * @param integer $courseid |
|
1973 | 1973 | * @param string $bigbluebuttonbnid |
1974 | 1974 | * @param bool $subset |
1975 | 1975 | * |
@@ -1993,7 +1993,7 @@ discard block |
||
1993 | 1993 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
1994 | 1994 | * in the getRecordings request considering only those that belong to imported recordings. |
1995 | 1995 | * |
1996 | - * @param string $courseid |
|
1996 | + * @param integer $courseid |
|
1997 | 1997 | * @param string $bigbluebuttonbnid |
1998 | 1998 | * @param bool $subset |
1999 | 1999 | * |
@@ -2016,7 +2016,7 @@ discard block |
||
2016 | 2016 | /** |
2017 | 2017 | * Helper function to get recordings and imported recordings together. |
2018 | 2018 | * |
2019 | - * @param string $courseid |
|
2019 | + * @param integer $courseid |
|
2020 | 2020 | * @param string $bigbluebuttonbnid |
2021 | 2021 | * @param bool $subset |
2022 | 2022 | * @param bool $includedeleted |
@@ -2034,7 +2034,7 @@ discard block |
||
2034 | 2034 | * Helper function to retrieve recordings from the BigBlueButton. The references are stored as events |
2035 | 2035 | * in bigbluebuttonbn_logs. |
2036 | 2036 | * |
2037 | - * @param string $courseid |
|
2037 | + * @param integer $courseid |
|
2038 | 2038 | * @param string $bigbluebuttonbnid |
2039 | 2039 | * @param bool $subset |
2040 | 2040 | * @param bool $includedeleted |