@@ -111,7 +111,7 @@ |
||
| 111 | 111 | * |
| 112 | 112 | * @param object $bigbluebuttonbn |
| 113 | 113 | * |
| 114 | - * @return void |
|
| 114 | + * @return string |
|
| 115 | 115 | */ |
| 116 | 116 | public static function htmlmsg_recording_ready($bigbluebuttonbn) { |
| 117 | 117 | return '<p>'.get_string('email_body_recording_ready_for', 'bigbluebuttonbn'). |
@@ -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 | if (!$feature) { |
@@ -310,7 +310,7 @@ discard block |
||
| 310 | 310 | * |
| 311 | 311 | * @param object $bigbluebuttonbn Id of the module instance |
| 312 | 312 | * |
| 313 | - * @return bool Success/Failure |
|
| 313 | + * @return boolean|null Success/Failure |
|
| 314 | 314 | */ |
| 315 | 315 | function bigbluebuttonbn_delete_instance_log($bigbluebuttonbn) { |
| 316 | 316 | global $DB; |
@@ -331,7 +331,7 @@ discard block |
||
| 331 | 331 | * @param object $mod |
| 332 | 332 | * @param object $bigbluebuttonbn |
| 333 | 333 | * |
| 334 | - * @return bool |
|
| 334 | + * @return string |
|
| 335 | 335 | */ |
| 336 | 336 | function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) { |
| 337 | 337 | if ($completed = bigbluebuttonbn_user_complete($course, $user, $bigbluebuttonbn)) { |
@@ -917,7 +917,7 @@ discard block |
||
| 917 | 917 | * @param stdClass $context context object |
| 918 | 918 | * @param string $filearea file area |
| 919 | 919 | * |
| 920 | - * @return false|null false if file not valid |
|
| 920 | + * @return boolean false if file not valid |
|
| 921 | 921 | */ |
| 922 | 922 | function bigbluebuttonbn_pluginfile_valid($context, $filearea) { |
| 923 | 923 | |
@@ -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 |