@@ -272,7 +272,7 @@ discard block |
||
272 | 272 | * Helper function to retrieve imported recordings from the Moodle database. |
273 | 273 | * The references are stored as events in bigbluebuttonbn_logs. |
274 | 274 | * |
275 | - * @param string $courseid |
|
275 | + * @param integer $courseid |
|
276 | 276 | * @param string $bigbluebuttonbnid |
277 | 277 | * @param bool $subset |
278 | 278 | * |
@@ -300,7 +300,7 @@ discard block |
||
300 | 300 | /** |
301 | 301 | * Helper function to retrive the default config.xml file. |
302 | 302 | * |
303 | - * @return string |
|
303 | + * @return null|SimpleXMLElement |
|
304 | 304 | */ |
305 | 305 | function bigbluebuttonbn_get_default_config_xml() { |
306 | 306 | $xml = bigbluebuttonbn_wrap_xml_load_file( |
@@ -382,7 +382,7 @@ discard block |
||
382 | 382 | * @param object $a |
383 | 383 | * @param object $b |
384 | 384 | * |
385 | - * @return array |
|
385 | + * @return integer |
|
386 | 386 | */ |
387 | 387 | function bigbluebuttonbn_recording_build_sorter($a, $b) { |
388 | 388 | if ($a['startTime'] < $b['startTime']) { |
@@ -493,7 +493,7 @@ discard block |
||
493 | 493 | * @param string $data |
494 | 494 | * @param string $contenttype |
495 | 495 | * |
496 | - * @return object |
|
496 | + * @return null|SimpleXMLElement |
|
497 | 497 | */ |
498 | 498 | function bigbluebuttonbn_wrap_xml_load_file($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
499 | 499 | if (extension_loaded('curl')) { |
@@ -534,7 +534,7 @@ discard block |
||
534 | 534 | * @param string $data |
535 | 535 | * @param string $contenttype |
536 | 536 | * |
537 | - * @return object |
|
537 | + * @return string |
|
538 | 538 | */ |
539 | 539 | function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
540 | 540 | $c = new curl(); |
@@ -904,7 +904,7 @@ discard block |
||
904 | 904 | * @param integer $instance |
905 | 905 | * @param integer $voicebridge |
906 | 906 | * |
907 | - * @return string |
|
907 | + * @return boolean |
|
908 | 908 | */ |
909 | 909 | function bigbluebuttonbn_voicebridge_unique($instance, $voicebridge) { |
910 | 910 | global $DB; |
@@ -1186,7 +1186,7 @@ discard block |
||
1186 | 1186 | * @param string $meetingid |
1187 | 1187 | * @param string $configxml |
1188 | 1188 | * |
1189 | - * @return object |
|
1189 | + * @return null|SimpleXMLElement |
|
1190 | 1190 | */ |
1191 | 1191 | function bigbluebuttonbn_set_config_xml($meetingid, $configxml) { |
1192 | 1192 | $urldefaultconfig = \mod_bigbluebuttonbn\locallib\config::get('server_url').'api/setConfigXML?'; |
@@ -1235,7 +1235,7 @@ discard block |
||
1235 | 1235 | * @param array $recording |
1236 | 1236 | * @param array $tools |
1237 | 1237 | * |
1238 | - * @return array |
|
1238 | + * @return null|stdClass |
|
1239 | 1239 | */ |
1240 | 1240 | function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete']) { |
1241 | 1241 | if (!bigbluebuttonbn_include_recording_table_row($bbbsession, $recording)) { |
@@ -1799,7 +1799,7 @@ discard block |
||
1799 | 1799 | * |
1800 | 1800 | * @param array $bbbsession |
1801 | 1801 | * @param array $recording |
1802 | - * @param object $rowdata |
|
1802 | + * @param stdClass $rowdata |
|
1803 | 1803 | * |
1804 | 1804 | * @return object |
1805 | 1805 | */ |
@@ -1994,7 +1994,7 @@ discard block |
||
1994 | 1994 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
1995 | 1995 | * in the getRecordings request considering only those that belong to deleted activities. |
1996 | 1996 | * |
1997 | - * @param string $courseid |
|
1997 | + * @param integer $courseid |
|
1998 | 1998 | * @param string $bigbluebuttonbnid |
1999 | 1999 | * @param bool $subset |
2000 | 2000 | * |
@@ -2018,7 +2018,7 @@ discard block |
||
2018 | 2018 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
2019 | 2019 | * in the getRecordings request considering only those that belong to imported recordings. |
2020 | 2020 | * |
2021 | - * @param string $courseid |
|
2021 | + * @param integer $courseid |
|
2022 | 2022 | * @param string $bigbluebuttonbnid |
2023 | 2023 | * @param bool $subset |
2024 | 2024 | * |
@@ -2041,7 +2041,7 @@ discard block |
||
2041 | 2041 | /** |
2042 | 2042 | * Helper function to get recordings and imported recordings together. |
2043 | 2043 | * |
2044 | - * @param string $courseid |
|
2044 | + * @param integer $courseid |
|
2045 | 2045 | * @param string $bigbluebuttonbnid |
2046 | 2046 | * @param bool $subset |
2047 | 2047 | * @param bool $includedeleted |
@@ -2059,7 +2059,7 @@ discard block |
||
2059 | 2059 | * Helper function to retrieve recordings from the BigBlueButton. The references are stored as events |
2060 | 2060 | * in bigbluebuttonbn_logs. |
2061 | 2061 | * |
2062 | - * @param string $courseid |
|
2062 | + * @param integer $courseid |
|
2063 | 2063 | * @param string $bigbluebuttonbnid |
2064 | 2064 | * @param bool $subset |
2065 | 2065 | * @param bool $includedeleted |
@@ -2218,7 +2218,6 @@ discard block |
||
2218 | 2218 | * Helper function returns an array with the profiles (with features per profile) for the different types |
2219 | 2219 | * of bigbluebuttonbn instances allowed for the user. |
2220 | 2220 | * |
2221 | - * @param array $profiles |
|
2222 | 2221 | * |
2223 | 2222 | * @return array |
2224 | 2223 | */ |