@@ -113,7 +113,7 @@ |
||
| 113 | 113 | * |
| 114 | 114 | * @param object $bigbluebuttonbn |
| 115 | 115 | * |
| 116 | - * @return void |
|
| 116 | + * @return string |
|
| 117 | 117 | */ |
| 118 | 118 | public static function htmlmsg_recording_ready($bigbluebuttonbn) |
| 119 | 119 | { |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | * @uses FEATURE_GRADE_OUTCOMES |
| 104 | 104 | * @uses FEATURE_SHOW_DESCRIPTION |
| 105 | 105 | * @param string $feature |
| 106 | - * @return mixed True if yes (some features may use other values) |
|
| 106 | + * @return null|boolean True if yes (some features may use other values) |
|
| 107 | 107 | */ |
| 108 | 108 | function bigbluebuttonbn_supports($feature) |
| 109 | 109 | { |
@@ -315,7 +315,7 @@ discard block |
||
| 315 | 315 | * |
| 316 | 316 | * @param object $bigbluebuttonbn Id of the module instance |
| 317 | 317 | * |
| 318 | - * @return bool Success/Failure |
|
| 318 | + * @return boolean|null Success/Failure |
|
| 319 | 319 | */ |
| 320 | 320 | function bigbluebuttonbn_delete_instance_log($bigbluebuttonbn) |
| 321 | 321 | { |
@@ -337,7 +337,7 @@ discard block |
||
| 337 | 337 | * @param object $mod |
| 338 | 338 | * @param object $bigbluebuttonbn |
| 339 | 339 | * |
| 340 | - * @return bool |
|
| 340 | + * @return string |
|
| 341 | 341 | */ |
| 342 | 342 | function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) |
| 343 | 343 | { |
@@ -951,7 +951,7 @@ discard block |
||
| 951 | 951 | * @param stdClass $context context object |
| 952 | 952 | * @param string $filearea file area |
| 953 | 953 | * |
| 954 | - * @return false|null false if file not valid |
|
| 954 | + * @return boolean false if file not valid |
|
| 955 | 955 | */ |
| 956 | 956 | function bigbluebuttonbn_pluginfile_valid($context, $filearea) |
| 957 | 957 | { |
@@ -312,7 +312,7 @@ discard block |
||
| 312 | 312 | * Helper function to retrieve imported recordings from the Moodle database. |
| 313 | 313 | * The references are stored as events in bigbluebuttonbn_logs. |
| 314 | 314 | * |
| 315 | - * @param string $courseid |
|
| 315 | + * @param integer $courseid |
|
| 316 | 316 | * @param string $bigbluebuttonbnid |
| 317 | 317 | * @param bool $subset |
| 318 | 318 | * |
@@ -341,7 +341,7 @@ discard block |
||
| 341 | 341 | /** |
| 342 | 342 | * Helper function to retrive the default config.xml file. |
| 343 | 343 | * |
| 344 | - * @return string |
|
| 344 | + * @return null|SimpleXMLElement |
|
| 345 | 345 | */ |
| 346 | 346 | function bigbluebuttonbn_get_default_config_xml() |
| 347 | 347 | { |
@@ -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 | { |
@@ -547,7 +547,7 @@ discard block |
||
| 547 | 547 | * @param string $data |
| 548 | 548 | * @param string $contenttype |
| 549 | 549 | * |
| 550 | - * @return object |
|
| 550 | + * @return null|SimpleXMLElement |
|
| 551 | 551 | */ |
| 552 | 552 | function bigbluebuttonbn_wrap_xml_load_file($url, $method = 'GET', $data = null, $contenttype = 'text/xml') |
| 553 | 553 | { |
@@ -589,7 +589,7 @@ discard block |
||
| 589 | 589 | * @param string $data |
| 590 | 590 | * @param string $contenttype |
| 591 | 591 | * |
| 592 | - * @return object |
|
| 592 | + * @return string |
|
| 593 | 593 | */ |
| 594 | 594 | function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = 'GET', $data = null, $contenttype = 'text/xml') |
| 595 | 595 | { |
@@ -980,7 +980,7 @@ discard block |
||
| 980 | 980 | * @param integer $instance |
| 981 | 981 | * @param integer $voicebridge |
| 982 | 982 | * |
| 983 | - * @return string |
|
| 983 | + * @return boolean |
|
| 984 | 984 | */ |
| 985 | 985 | function bigbluebuttonbn_voicebridge_unique($instance, $voicebridge) |
| 986 | 986 | { |
@@ -1342,7 +1342,7 @@ discard block |
||
| 1342 | 1342 | * @param string $meetingid |
| 1343 | 1343 | * @param string $configxml |
| 1344 | 1344 | * |
| 1345 | - * @return object |
|
| 1345 | + * @return null|SimpleXMLElement |
|
| 1346 | 1346 | */ |
| 1347 | 1347 | function bigbluebuttonbn_set_config_xml($meetingid, $configxml) |
| 1348 | 1348 | { |
@@ -1398,7 +1398,7 @@ discard block |
||
| 1398 | 1398 | * @param array $recording |
| 1399 | 1399 | * @param array $tools |
| 1400 | 1400 | * |
| 1401 | - * @return array |
|
| 1401 | + * @return null|stdClass |
|
| 1402 | 1402 | */ |
| 1403 | 1403 | function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete']) |
| 1404 | 1404 | { |
@@ -2045,7 +2045,7 @@ discard block |
||
| 2045 | 2045 | * |
| 2046 | 2046 | * @param array $bbbsession |
| 2047 | 2047 | * @param array $recording |
| 2048 | - * @param object $rowdata |
|
| 2048 | + * @param stdClass $rowdata |
|
| 2049 | 2049 | * |
| 2050 | 2050 | * @return object |
| 2051 | 2051 | */ |
@@ -2240,7 +2240,7 @@ discard block |
||
| 2240 | 2240 | * |
| 2241 | 2241 | * @param array $bbbsession |
| 2242 | 2242 | * @param array $recordings |
| 2243 | - * @param array $tools |
|
| 2243 | + * @param string[] $tools |
|
| 2244 | 2244 | * |
| 2245 | 2245 | * @return array |
| 2246 | 2246 | */ |
@@ -2321,7 +2321,7 @@ discard block |
||
| 2321 | 2321 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
| 2322 | 2322 | * in the getRecordings request considering only those that belong to deleted activities. |
| 2323 | 2323 | * |
| 2324 | - * @param string $courseid |
|
| 2324 | + * @param integer $courseid |
|
| 2325 | 2325 | * @param string $bigbluebuttonbnid |
| 2326 | 2326 | * @param bool $subset |
| 2327 | 2327 | * |
@@ -2345,7 +2345,7 @@ discard block |
||
| 2345 | 2345 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
| 2346 | 2346 | * in the getRecordings request considering only those that belong to imported recordings. |
| 2347 | 2347 | * |
| 2348 | - * @param string $courseid |
|
| 2348 | + * @param integer $courseid |
|
| 2349 | 2349 | * @param string $bigbluebuttonbnid |
| 2350 | 2350 | * @param bool $subset |
| 2351 | 2351 | * |
@@ -2368,7 +2368,7 @@ discard block |
||
| 2368 | 2368 | /** |
| 2369 | 2369 | * Helper function to get recordings and imported recordings together. |
| 2370 | 2370 | * |
| 2371 | - * @param string $courseid |
|
| 2371 | + * @param integer $courseid |
|
| 2372 | 2372 | * @param string $bigbluebuttonbnid |
| 2373 | 2373 | * @param bool $subset |
| 2374 | 2374 | * @param bool $includedeleted |
@@ -2386,7 +2386,7 @@ discard block |
||
| 2386 | 2386 | * Helper function to retrieve recordings from the BigBlueButton. The references are stored as events |
| 2387 | 2387 | * in bigbluebuttonbn_logs. |
| 2388 | 2388 | * |
| 2389 | - * @param string $courseid |
|
| 2389 | + * @param integer $courseid |
|
| 2390 | 2390 | * @param string $bigbluebuttonbnid |
| 2391 | 2391 | * @param bool $subset |
| 2392 | 2392 | * @param bool $includedeleted |