@@ -54,6 +54,7 @@ discard block |
||
| 54 | 54 | * Get the list of users who have data within a context. |
| 55 | 55 | * |
| 56 | 56 | * @param userlist $userlist The userlist containing the list of users who have data in this context/plugin combination. |
| 57 | + * @return void |
|
| 57 | 58 | */ |
| 58 | 59 | public static function get_users_in_context(userlist $userlist); |
| 59 | 60 | |
@@ -61,6 +62,7 @@ discard block |
||
| 61 | 62 | * Delete multiple users within a single context. |
| 62 | 63 | * |
| 63 | 64 | * @param approved_userlist $userlist The approved context and user information to delete information for. |
| 65 | + * @return void |
|
| 64 | 66 | */ |
| 65 | 67 | public static function delete_data_for_users(approved_userlist $userlist); |
| 66 | 68 | } |
@@ -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; |
@@ -541,7 +541,7 @@ discard block |
||
| 541 | 541 | * @param string $data |
| 542 | 542 | * @param string $contenttype |
| 543 | 543 | * |
| 544 | - * @return object |
|
| 544 | + * @return null|SimpleXMLElement |
|
| 545 | 545 | */ |
| 546 | 546 | function bigbluebuttonbn_wrap_xml_load_file($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
| 547 | 547 | if (extension_loaded('curl')) { |
@@ -582,7 +582,7 @@ discard block |
||
| 582 | 582 | * @param string $data |
| 583 | 583 | * @param string $contenttype |
| 584 | 584 | * |
| 585 | - * @return object |
|
| 585 | + * @return string |
|
| 586 | 586 | */ |
| 587 | 587 | function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
| 588 | 588 | global $CFG; |
@@ -977,7 +977,7 @@ discard block |
||
| 977 | 977 | * @param integer $instance |
| 978 | 978 | * @param integer $voicebridge |
| 979 | 979 | * |
| 980 | - * @return string |
|
| 980 | + * @return boolean |
|
| 981 | 981 | */ |
| 982 | 982 | function bigbluebuttonbn_voicebridge_unique($instance, $voicebridge) { |
| 983 | 983 | global $DB; |
@@ -1325,7 +1325,7 @@ discard block |
||
| 1325 | 1325 | * @param string $meetingid |
| 1326 | 1326 | * @param string $configxml |
| 1327 | 1327 | * |
| 1328 | - * @return object |
|
| 1328 | + * @return null|SimpleXMLElement |
|
| 1329 | 1329 | */ |
| 1330 | 1330 | function bigbluebuttonbn_set_config_xml($meetingid, $configxml) { |
| 1331 | 1331 | $urldefaultconfig = \mod_bigbluebuttonbn\locallib\config::get('server_url') . 'api/setConfigXML?'; |
@@ -1379,7 +1379,7 @@ discard block |
||
| 1379 | 1379 | * @param array $recording |
| 1380 | 1380 | * @param array $tools |
| 1381 | 1381 | * |
| 1382 | - * @return array |
|
| 1382 | + * @return null|stdClass |
|
| 1383 | 1383 | */ |
| 1384 | 1384 | function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete']) { |
| 1385 | 1385 | if (!bigbluebuttonbn_include_recording_table_row($bbbsession, $recording)) { |
@@ -2016,7 +2016,7 @@ discard block |
||
| 2016 | 2016 | * |
| 2017 | 2017 | * @param array $bbbsession |
| 2018 | 2018 | * @param array $recording |
| 2019 | - * @param object $rowdata |
|
| 2019 | + * @param stdClass $rowdata |
|
| 2020 | 2020 | * |
| 2021 | 2021 | * @return object |
| 2022 | 2022 | */ |
@@ -2211,7 +2211,7 @@ discard block |
||
| 2211 | 2211 | * |
| 2212 | 2212 | * @param array $bbbsession |
| 2213 | 2213 | * @param array $recordings |
| 2214 | - * @param array $tools |
|
| 2214 | + * @param string[] $tools |
|
| 2215 | 2215 | * |
| 2216 | 2216 | * @return array |
| 2217 | 2217 | */ |
@@ -2292,7 +2292,7 @@ discard block |
||
| 2292 | 2292 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
| 2293 | 2293 | * in the getRecordings request considering only those that belong to deleted activities. |
| 2294 | 2294 | * |
| 2295 | - * @param string $courseid |
|
| 2295 | + * @param integer $courseid |
|
| 2296 | 2296 | * @param string $bigbluebuttonbnid |
| 2297 | 2297 | * @param bool $subset |
| 2298 | 2298 | * |
@@ -2316,7 +2316,7 @@ discard block |
||
| 2316 | 2316 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
| 2317 | 2317 | * in the getRecordings request considering only those that belong to imported recordings. |
| 2318 | 2318 | * |
| 2319 | - * @param string $courseid |
|
| 2319 | + * @param integer $courseid |
|
| 2320 | 2320 | * @param string $bigbluebuttonbnid |
| 2321 | 2321 | * @param bool $subset |
| 2322 | 2322 | * |
@@ -2339,7 +2339,7 @@ discard block |
||
| 2339 | 2339 | /** |
| 2340 | 2340 | * Helper function to get recordings and imported recordings together. |
| 2341 | 2341 | * |
| 2342 | - * @param string $courseid |
|
| 2342 | + * @param integer $courseid |
|
| 2343 | 2343 | * @param string $bigbluebuttonbnid |
| 2344 | 2344 | * @param bool $subset |
| 2345 | 2345 | * @param bool $includedeleted |
@@ -2357,7 +2357,7 @@ discard block |
||
| 2357 | 2357 | * Helper function to retrieve recordings from the BigBlueButton. The references are stored as events |
| 2358 | 2358 | * in bigbluebuttonbn_logs. |
| 2359 | 2359 | * |
| 2360 | - * @param string $courseid |
|
| 2360 | + * @param integer $courseid |
|
| 2361 | 2361 | * @param string $bigbluebuttonbnid |
| 2362 | 2362 | * @param bool $subset |
| 2363 | 2363 | * @param bool $includedeleted |