@@ -307,7 +307,7 @@ discard block |
||
| 307 | 307 | * Helper function to retrieve imported recordings from the Moodle database. |
| 308 | 308 | * The references are stored as events in bigbluebuttonbn_logs. |
| 309 | 309 | * |
| 310 | - * @param string $courseid |
|
| 310 | + * @param integer $courseid |
|
| 311 | 311 | * @param string $bigbluebuttonbnid |
| 312 | 312 | * @param bool $subset |
| 313 | 313 | * |
@@ -335,7 +335,7 @@ discard block |
||
| 335 | 335 | /** |
| 336 | 336 | * Helper function to retrive the default config.xml file. |
| 337 | 337 | * |
| 338 | - * @return string |
|
| 338 | + * @return null|SimpleXMLElement |
|
| 339 | 339 | */ |
| 340 | 340 | function bigbluebuttonbn_get_default_config_xml() { |
| 341 | 341 | $xml = bigbluebuttonbn_wrap_xml_load_file( |
@@ -417,7 +417,7 @@ discard block |
||
| 417 | 417 | * @param object $a |
| 418 | 418 | * @param object $b |
| 419 | 419 | * |
| 420 | - * @return array |
|
| 420 | + * @return integer |
|
| 421 | 421 | */ |
| 422 | 422 | function bigbluebuttonbn_recording_build_sorter($a, $b) { |
| 423 | 423 | global $CFG; |
@@ -531,7 +531,7 @@ discard block |
||
| 531 | 531 | * @param string $data |
| 532 | 532 | * @param string $contenttype |
| 533 | 533 | * |
| 534 | - * @return object |
|
| 534 | + * @return null|SimpleXMLElement |
|
| 535 | 535 | */ |
| 536 | 536 | function bigbluebuttonbn_wrap_xml_load_file($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
| 537 | 537 | if (extension_loaded('curl')) { |
@@ -572,7 +572,7 @@ discard block |
||
| 572 | 572 | * @param string $data |
| 573 | 573 | * @param string $contenttype |
| 574 | 574 | * |
| 575 | - * @return object |
|
| 575 | + * @return string |
|
| 576 | 576 | */ |
| 577 | 577 | function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
| 578 | 578 | $c = new curl(); |
@@ -945,7 +945,7 @@ discard block |
||
| 945 | 945 | * @param integer $instance |
| 946 | 946 | * @param integer $voicebridge |
| 947 | 947 | * |
| 948 | - * @return string |
|
| 948 | + * @return boolean |
|
| 949 | 949 | */ |
| 950 | 950 | function bigbluebuttonbn_voicebridge_unique($instance, $voicebridge) { |
| 951 | 951 | global $DB; |
@@ -1293,7 +1293,7 @@ discard block |
||
| 1293 | 1293 | * @param string $meetingid |
| 1294 | 1294 | * @param string $configxml |
| 1295 | 1295 | * |
| 1296 | - * @return object |
|
| 1296 | + * @return null|SimpleXMLElement |
|
| 1297 | 1297 | */ |
| 1298 | 1298 | function bigbluebuttonbn_set_config_xml($meetingid, $configxml) { |
| 1299 | 1299 | $urldefaultconfig = \mod_bigbluebuttonbn\locallib\config::get('server_url') . 'api/setConfigXML?'; |
@@ -1347,7 +1347,7 @@ discard block |
||
| 1347 | 1347 | * @param array $recording |
| 1348 | 1348 | * @param array $tools |
| 1349 | 1349 | * |
| 1350 | - * @return array |
|
| 1350 | + * @return null|stdClass |
|
| 1351 | 1351 | */ |
| 1352 | 1352 | function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete']) { |
| 1353 | 1353 | if (!bigbluebuttonbn_include_recording_table_row($bbbsession, $recording)) { |
@@ -1982,7 +1982,7 @@ discard block |
||
| 1982 | 1982 | * |
| 1983 | 1983 | * @param array $bbbsession |
| 1984 | 1984 | * @param array $recording |
| 1985 | - * @param object $rowdata |
|
| 1985 | + * @param stdClass $rowdata |
|
| 1986 | 1986 | * |
| 1987 | 1987 | * @return object |
| 1988 | 1988 | */ |
@@ -2177,7 +2177,7 @@ discard block |
||
| 2177 | 2177 | * |
| 2178 | 2178 | * @param array $bbbsession |
| 2179 | 2179 | * @param array $recordings |
| 2180 | - * @param array $tools |
|
| 2180 | + * @param string[] $tools |
|
| 2181 | 2181 | * |
| 2182 | 2182 | * @return array |
| 2183 | 2183 | */ |
@@ -2258,7 +2258,7 @@ discard block |
||
| 2258 | 2258 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
| 2259 | 2259 | * in the getRecordings request considering only those that belong to deleted activities. |
| 2260 | 2260 | * |
| 2261 | - * @param string $courseid |
|
| 2261 | + * @param integer $courseid |
|
| 2262 | 2262 | * @param string $bigbluebuttonbnid |
| 2263 | 2263 | * @param bool $subset |
| 2264 | 2264 | * |
@@ -2282,7 +2282,7 @@ discard block |
||
| 2282 | 2282 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
| 2283 | 2283 | * in the getRecordings request considering only those that belong to imported recordings. |
| 2284 | 2284 | * |
| 2285 | - * @param string $courseid |
|
| 2285 | + * @param integer $courseid |
|
| 2286 | 2286 | * @param string $bigbluebuttonbnid |
| 2287 | 2287 | * @param bool $subset |
| 2288 | 2288 | * |
@@ -2305,7 +2305,7 @@ discard block |
||
| 2305 | 2305 | /** |
| 2306 | 2306 | * Helper function to get recordings and imported recordings together. |
| 2307 | 2307 | * |
| 2308 | - * @param string $courseid |
|
| 2308 | + * @param integer $courseid |
|
| 2309 | 2309 | * @param string $bigbluebuttonbnid |
| 2310 | 2310 | * @param bool $subset |
| 2311 | 2311 | * @param bool $includedeleted |
@@ -2323,7 +2323,7 @@ discard block |
||
| 2323 | 2323 | * Helper function to retrieve recordings from the BigBlueButton. The references are stored as events |
| 2324 | 2324 | * in bigbluebuttonbn_logs. |
| 2325 | 2325 | * |
| 2326 | - * @param string $courseid |
|
| 2326 | + * @param integer $courseid |
|
| 2327 | 2327 | * @param string $bigbluebuttonbnid |
| 2328 | 2328 | * @param bool $subset |
| 2329 | 2329 | * @param bool $includedeleted |