@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | * @uses FEATURE_GRADE_OUTCOMES |
| 107 | 107 | * @uses FEATURE_SHOW_DESCRIPTION |
| 108 | 108 | * @param string $feature |
| 109 | - * @return mixed True if yes (some features may use other values) |
|
| 109 | + * @return null|boolean True if yes (some features may use other values) |
|
| 110 | 110 | */ |
| 111 | 111 | function bigbluebuttonbn_supports($feature) { |
| 112 | 112 | if (!$feature) { |
@@ -226,7 +226,7 @@ discard block |
||
| 226 | 226 | * |
| 227 | 227 | * @param object $bigbluebuttonbn Id of the module instance |
| 228 | 228 | * |
| 229 | - * @return bool Success/Failure |
|
| 229 | + * @return boolean|null Success/Failure |
|
| 230 | 230 | */ |
| 231 | 231 | function bigbluebuttonbn_delete_instance_log($bigbluebuttonbn) { |
| 232 | 232 | global $DB; |
@@ -249,7 +249,7 @@ discard block |
||
| 249 | 249 | * @param object $mod |
| 250 | 250 | * @param object $bigbluebuttonbn |
| 251 | 251 | * |
| 252 | - * @return bool |
|
| 252 | + * @return string |
|
| 253 | 253 | */ |
| 254 | 254 | function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) { |
| 255 | 255 | global $DB; |
@@ -757,7 +757,7 @@ discard block |
||
| 757 | 757 | * @param stdClass $context context object |
| 758 | 758 | * @param string $filearea file area |
| 759 | 759 | * |
| 760 | - * @return false|null false if file not valid |
|
| 760 | + * @return boolean false if file not valid |
|
| 761 | 761 | */ |
| 762 | 762 | function bigbluebuttonbn_pluginfile_valid($context, $filearea) { |
| 763 | 763 | if ($context->contextlevel != CONTEXT_MODULE) { |
@@ -276,7 +276,7 @@ discard block |
||
| 276 | 276 | * Helper function to retrieve imported recordings from the Moodle database. |
| 277 | 277 | * The references are stored as events in bigbluebuttonbn_logs. |
| 278 | 278 | * |
| 279 | - * @param string $courseid |
|
| 279 | + * @param integer $courseid |
|
| 280 | 280 | * @param string $bigbluebuttonbnid |
| 281 | 281 | * @param bool $subset |
| 282 | 282 | * |
@@ -304,7 +304,7 @@ discard block |
||
| 304 | 304 | /** |
| 305 | 305 | * Helper function to retrive the default config.xml file. |
| 306 | 306 | * |
| 307 | - * @return string |
|
| 307 | + * @return null|SimpleXMLElement |
|
| 308 | 308 | */ |
| 309 | 309 | function bigbluebuttonbn_get_default_config_xml() { |
| 310 | 310 | $xml = bigbluebuttonbn_wrap_xml_load_file( |
@@ -386,7 +386,7 @@ discard block |
||
| 386 | 386 | * @param object $a |
| 387 | 387 | * @param object $b |
| 388 | 388 | * |
| 389 | - * @return array |
|
| 389 | + * @return integer |
|
| 390 | 390 | */ |
| 391 | 391 | function bigbluebuttonbn_recording_build_sorter($a, $b) { |
| 392 | 392 | if ($a['startTime'] < $b['startTime']) { |
@@ -497,7 +497,7 @@ discard block |
||
| 497 | 497 | * @param string $data |
| 498 | 498 | * @param string $contenttype |
| 499 | 499 | * |
| 500 | - * @return object |
|
| 500 | + * @return null|SimpleXMLElement |
|
| 501 | 501 | */ |
| 502 | 502 | function bigbluebuttonbn_wrap_xml_load_file($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
| 503 | 503 | if (extension_loaded('curl')) { |
@@ -538,7 +538,7 @@ discard block |
||
| 538 | 538 | * @param string $data |
| 539 | 539 | * @param string $contenttype |
| 540 | 540 | * |
| 541 | - * @return object |
|
| 541 | + * @return string |
|
| 542 | 542 | */ |
| 543 | 543 | function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
| 544 | 544 | $c = new curl(); |
@@ -911,7 +911,7 @@ discard block |
||
| 911 | 911 | * @param integer $instance |
| 912 | 912 | * @param integer $voicebridge |
| 913 | 913 | * |
| 914 | - * @return string |
|
| 914 | + * @return boolean |
|
| 915 | 915 | */ |
| 916 | 916 | function bigbluebuttonbn_voicebridge_unique($instance, $voicebridge) { |
| 917 | 917 | global $DB; |
@@ -1014,7 +1014,7 @@ discard block |
||
| 1014 | 1014 | /** |
| 1015 | 1015 | * Helper returns an array with all possible bigbluebuttonbn events. |
| 1016 | 1016 | * |
| 1017 | - * @return array |
|
| 1017 | + * @return string[] |
|
| 1018 | 1018 | */ |
| 1019 | 1019 | function bigbluebuttonbn_events() { |
| 1020 | 1020 | return array( |
@@ -1120,7 +1120,7 @@ discard block |
||
| 1120 | 1120 | * @param string $meetingid |
| 1121 | 1121 | * @param boolean $updatecache |
| 1122 | 1122 | * |
| 1123 | - * @return array |
|
| 1123 | + * @return string |
|
| 1124 | 1124 | */ |
| 1125 | 1125 | function bigbluebuttonbn_get_meeting_info($meetingid, $updatecache = false) { |
| 1126 | 1126 | $cachettl = (int)\mod_bigbluebuttonbn\locallib\config::get('waitformoderator_cache_ttl'); |
@@ -1240,7 +1240,7 @@ discard block |
||
| 1240 | 1240 | * @param string $meetingid |
| 1241 | 1241 | * @param string $configxml |
| 1242 | 1242 | * |
| 1243 | - * @return object |
|
| 1243 | + * @return null|SimpleXMLElement |
|
| 1244 | 1244 | */ |
| 1245 | 1245 | function bigbluebuttonbn_set_config_xml($meetingid, $configxml) { |
| 1246 | 1246 | $urldefaultconfig = \mod_bigbluebuttonbn\locallib\config::get('server_url').'api/setConfigXML?'; |
@@ -1289,7 +1289,7 @@ discard block |
||
| 1289 | 1289 | * @param array $recording |
| 1290 | 1290 | * @param array $tools |
| 1291 | 1291 | * |
| 1292 | - * @return array |
|
| 1292 | + * @return null|stdClass |
|
| 1293 | 1293 | */ |
| 1294 | 1294 | function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete']) { |
| 1295 | 1295 | if (!bigbluebuttonbn_include_recording_table_row($bbbsession, $recording)) { |
@@ -1853,7 +1853,7 @@ discard block |
||
| 1853 | 1853 | * |
| 1854 | 1854 | * @param array $bbbsession |
| 1855 | 1855 | * @param array $recording |
| 1856 | - * @param object $rowdata |
|
| 1856 | + * @param stdClass $rowdata |
|
| 1857 | 1857 | * |
| 1858 | 1858 | * @return object |
| 1859 | 1859 | */ |
@@ -2048,7 +2048,7 @@ discard block |
||
| 2048 | 2048 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
| 2049 | 2049 | * in the getRecordings request considering only those that belong to deleted activities. |
| 2050 | 2050 | * |
| 2051 | - * @param string $courseid |
|
| 2051 | + * @param integer $courseid |
|
| 2052 | 2052 | * @param string $bigbluebuttonbnid |
| 2053 | 2053 | * @param bool $subset |
| 2054 | 2054 | * |
@@ -2072,7 +2072,7 @@ discard block |
||
| 2072 | 2072 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
| 2073 | 2073 | * in the getRecordings request considering only those that belong to imported recordings. |
| 2074 | 2074 | * |
| 2075 | - * @param string $courseid |
|
| 2075 | + * @param integer $courseid |
|
| 2076 | 2076 | * @param string $bigbluebuttonbnid |
| 2077 | 2077 | * @param bool $subset |
| 2078 | 2078 | * |
@@ -2095,7 +2095,7 @@ discard block |
||
| 2095 | 2095 | /** |
| 2096 | 2096 | * Helper function to get recordings and imported recordings together. |
| 2097 | 2097 | * |
| 2098 | - * @param string $courseid |
|
| 2098 | + * @param integer $courseid |
|
| 2099 | 2099 | * @param string $bigbluebuttonbnid |
| 2100 | 2100 | * @param bool $subset |
| 2101 | 2101 | * @param bool $includedeleted |
@@ -2113,7 +2113,7 @@ discard block |
||
| 2113 | 2113 | * Helper function to retrieve recordings from the BigBlueButton. The references are stored as events |
| 2114 | 2114 | * in bigbluebuttonbn_logs. |
| 2115 | 2115 | * |
| 2116 | - * @param string $courseid |
|
| 2116 | + * @param integer $courseid |
|
| 2117 | 2117 | * @param string $bigbluebuttonbnid |
| 2118 | 2118 | * @param bool $subset |
| 2119 | 2119 | * @param bool $includedeleted |