@@ -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; |
@@ -542,7 +542,7 @@ discard block |
||
542 | 542 | * @param string $data |
543 | 543 | * @param string $contenttype |
544 | 544 | * |
545 | - * @return object |
|
545 | + * @return null|SimpleXMLElement |
|
546 | 546 | */ |
547 | 547 | function bigbluebuttonbn_wrap_xml_load_file($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
548 | 548 | if (extension_loaded('curl')) { |
@@ -583,7 +583,7 @@ discard block |
||
583 | 583 | * @param string $data |
584 | 584 | * @param string $contenttype |
585 | 585 | * |
586 | - * @return object |
|
586 | + * @return string |
|
587 | 587 | */ |
588 | 588 | function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
589 | 589 | $c = new curl(); |
@@ -956,7 +956,7 @@ discard block |
||
956 | 956 | * @param integer $instance |
957 | 957 | * @param integer $voicebridge |
958 | 958 | * |
959 | - * @return string |
|
959 | + * @return boolean |
|
960 | 960 | */ |
961 | 961 | function bigbluebuttonbn_voicebridge_unique($instance, $voicebridge) { |
962 | 962 | global $DB; |
@@ -1304,7 +1304,7 @@ discard block |
||
1304 | 1304 | * @param string $meetingid |
1305 | 1305 | * @param string $configxml |
1306 | 1306 | * |
1307 | - * @return object |
|
1307 | + * @return null|SimpleXMLElement |
|
1308 | 1308 | */ |
1309 | 1309 | function bigbluebuttonbn_set_config_xml($meetingid, $configxml) { |
1310 | 1310 | $urldefaultconfig = \mod_bigbluebuttonbn\locallib\config::get('server_url') . 'api/setConfigXML?'; |
@@ -1358,7 +1358,7 @@ discard block |
||
1358 | 1358 | * @param array $recording |
1359 | 1359 | * @param array $tools |
1360 | 1360 | * |
1361 | - * @return array |
|
1361 | + * @return null|stdClass |
|
1362 | 1362 | */ |
1363 | 1363 | function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete']) { |
1364 | 1364 | if (!bigbluebuttonbn_include_recording_table_row($bbbsession, $recording)) { |
@@ -2010,7 +2010,7 @@ discard block |
||
2010 | 2010 | * |
2011 | 2011 | * @param array $bbbsession |
2012 | 2012 | * @param array $recording |
2013 | - * @param object $rowdata |
|
2013 | + * @param stdClass $rowdata |
|
2014 | 2014 | * |
2015 | 2015 | * @return object |
2016 | 2016 | */ |
@@ -2205,7 +2205,7 @@ discard block |
||
2205 | 2205 | * |
2206 | 2206 | * @param array $bbbsession |
2207 | 2207 | * @param array $recordings |
2208 | - * @param array $tools |
|
2208 | + * @param string[] $tools |
|
2209 | 2209 | * |
2210 | 2210 | * @return array |
2211 | 2211 | */ |
@@ -2286,7 +2286,7 @@ discard block |
||
2286 | 2286 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
2287 | 2287 | * in the getRecordings request considering only those that belong to deleted activities. |
2288 | 2288 | * |
2289 | - * @param string $courseid |
|
2289 | + * @param integer $courseid |
|
2290 | 2290 | * @param string $bigbluebuttonbnid |
2291 | 2291 | * @param bool $subset |
2292 | 2292 | * |
@@ -2310,7 +2310,7 @@ discard block |
||
2310 | 2310 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
2311 | 2311 | * in the getRecordings request considering only those that belong to imported recordings. |
2312 | 2312 | * |
2313 | - * @param string $courseid |
|
2313 | + * @param integer $courseid |
|
2314 | 2314 | * @param string $bigbluebuttonbnid |
2315 | 2315 | * @param bool $subset |
2316 | 2316 | * |
@@ -2333,7 +2333,7 @@ discard block |
||
2333 | 2333 | /** |
2334 | 2334 | * Helper function to get recordings and imported recordings together. |
2335 | 2335 | * |
2336 | - * @param string $courseid |
|
2336 | + * @param integer $courseid |
|
2337 | 2337 | * @param string $bigbluebuttonbnid |
2338 | 2338 | * @param bool $subset |
2339 | 2339 | * @param bool $includedeleted |
@@ -2351,7 +2351,7 @@ discard block |
||
2351 | 2351 | * Helper function to retrieve recordings from the BigBlueButton. The references are stored as events |
2352 | 2352 | * in bigbluebuttonbn_logs. |
2353 | 2353 | * |
2354 | - * @param string $courseid |
|
2354 | + * @param integer $courseid |
|
2355 | 2355 | * @param string $bigbluebuttonbnid |
2356 | 2356 | * @param bool $subset |
2357 | 2357 | * @param bool $includedeleted |