@@ -262,7 +262,7 @@ discard block |
||
262 | 262 | * Helper function to retrieve imported recordings from the Moodle database. |
263 | 263 | * The references are stored as events in bigbluebuttonbn_logs. |
264 | 264 | * |
265 | - * @param string $courseid |
|
265 | + * @param integer $courseid |
|
266 | 266 | * @param string $bigbluebuttonbnid |
267 | 267 | * @param bool $subset |
268 | 268 | * |
@@ -290,7 +290,7 @@ discard block |
||
290 | 290 | /** |
291 | 291 | * Helper function to retrive the default config.xml file. |
292 | 292 | * |
293 | - * @return string |
|
293 | + * @return null|SimpleXMLElement |
|
294 | 294 | */ |
295 | 295 | function bigbluebuttonbn_get_default_config_xml() { |
296 | 296 | $xml = bigbluebuttonbn_wrap_xml_load_file( |
@@ -372,7 +372,7 @@ discard block |
||
372 | 372 | * @param object $a |
373 | 373 | * @param object $b |
374 | 374 | * |
375 | - * @return array |
|
375 | + * @return integer |
|
376 | 376 | */ |
377 | 377 | function bigbluebuttonbn_recording_build_sorter($a, $b) { |
378 | 378 | if ($a['startTime'] < $b['startTime']) { |
@@ -498,7 +498,7 @@ discard block |
||
498 | 498 | * @param string $data |
499 | 499 | * @param string $contenttype |
500 | 500 | * |
501 | - * @return object |
|
501 | + * @return null|SimpleXMLElement |
|
502 | 502 | */ |
503 | 503 | function bigbluebuttonbn_wrap_xml_load_file($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
504 | 504 | if (extension_loaded('curl')) { |
@@ -539,7 +539,7 @@ discard block |
||
539 | 539 | * @param string $data |
540 | 540 | * @param string $contenttype |
541 | 541 | * |
542 | - * @return object |
|
542 | + * @return string |
|
543 | 543 | */ |
544 | 544 | function bigbluebuttonbn_wrap_xml_load_file_curl_request($url, $method = 'GET', $data = null, $contenttype = 'text/xml') { |
545 | 545 | $c = new curl(); |
@@ -904,7 +904,7 @@ discard block |
||
904 | 904 | * @param integer $instance |
905 | 905 | * @param integer $voicebridge |
906 | 906 | * |
907 | - * @return string |
|
907 | + * @return boolean |
|
908 | 908 | */ |
909 | 909 | function bigbluebuttonbn_voicebridge_unique($instance, $voicebridge) { |
910 | 910 | global $DB; |
@@ -1170,7 +1170,7 @@ discard block |
||
1170 | 1170 | * @param string $meetingid |
1171 | 1171 | * @param string $configxml |
1172 | 1172 | * |
1173 | - * @return object |
|
1173 | + * @return null|SimpleXMLElement |
|
1174 | 1174 | */ |
1175 | 1175 | function bigbluebuttonbn_set_config_xml($meetingid, $configxml) { |
1176 | 1176 | $urldefaultconfig = \mod_bigbluebuttonbn\locallib\config::get('server_url').'api/setConfigXML?'; |
@@ -1219,7 +1219,7 @@ discard block |
||
1219 | 1219 | * @param array $recording |
1220 | 1220 | * @param array $tools |
1221 | 1221 | * |
1222 | - * @return array |
|
1222 | + * @return null|stdClass |
|
1223 | 1223 | */ |
1224 | 1224 | function bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools = ['protect', 'publish', 'delete']) { |
1225 | 1225 | if (!bigbluebuttonbn_include_recording_table_row($bbbsession, $recording)) { |
@@ -1723,7 +1723,7 @@ discard block |
||
1723 | 1723 | * |
1724 | 1724 | * @param array $bbbsession |
1725 | 1725 | * @param array $recording |
1726 | - * @param object $rowdata |
|
1726 | + * @param stdClass $rowdata |
|
1727 | 1727 | * |
1728 | 1728 | * @return object |
1729 | 1729 | */ |
@@ -1918,7 +1918,7 @@ discard block |
||
1918 | 1918 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
1919 | 1919 | * in the getRecordings request considering only those that belong to deleted activities. |
1920 | 1920 | * |
1921 | - * @param string $courseid |
|
1921 | + * @param integer $courseid |
|
1922 | 1922 | * @param string $bigbluebuttonbnid |
1923 | 1923 | * @param bool $subset |
1924 | 1924 | * |
@@ -1942,7 +1942,7 @@ discard block |
||
1942 | 1942 | * Helper function to define the sql used for gattering the bigbluebuttonbnids whose meetingids should be included |
1943 | 1943 | * in the getRecordings request considering only those that belong to imported recordings. |
1944 | 1944 | * |
1945 | - * @param string $courseid |
|
1945 | + * @param integer $courseid |
|
1946 | 1946 | * @param string $bigbluebuttonbnid |
1947 | 1947 | * @param bool $subset |
1948 | 1948 | * |
@@ -1965,7 +1965,7 @@ discard block |
||
1965 | 1965 | /** |
1966 | 1966 | * Helper function to get recordings and imported recordings together. |
1967 | 1967 | * |
1968 | - * @param string $courseid |
|
1968 | + * @param integer $courseid |
|
1969 | 1969 | * @param string $bigbluebuttonbnid |
1970 | 1970 | * @param bool $subset |
1971 | 1971 | * @param bool $includedeleted |
@@ -1983,7 +1983,7 @@ discard block |
||
1983 | 1983 | * Helper function to retrieve recordings from the BigBlueButton. The references are stored as events |
1984 | 1984 | * in bigbluebuttonbn_logs. |
1985 | 1985 | * |
1986 | - * @param string $courseid |
|
1986 | + * @param integer $courseid |
|
1987 | 1987 | * @param string $bigbluebuttonbnid |
1988 | 1988 | * @param bool $subset |
1989 | 1989 | * @param bool $includedeleted |
@@ -260,7 +260,6 @@ |
||
260 | 260 | /** |
261 | 261 | * Add Join Session button. |
262 | 262 | * |
263 | - * @param boolean $moderator |
|
264 | 263 | * @param object $course |
265 | 264 | * @param object $bigbluebuttonbn |
266 | 265 | * @param object $groupobj |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | * @uses FEATURE_GRADE_OUTCOMES |
99 | 99 | * @uses FEATURE_SHOW_DESCRIPTION |
100 | 100 | * @param string $feature |
101 | - * @return mixed True if yes (some features may use other values) |
|
101 | + * @return null|boolean True if yes (some features may use other values) |
|
102 | 102 | */ |
103 | 103 | function bigbluebuttonbn_supports($feature) { |
104 | 104 | if (!$feature) { |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | * |
184 | 184 | * @param int $id Id of the module instance |
185 | 185 | * |
186 | - * @return bool Success/Failure |
|
186 | + * @return boolean|null Success/Failure |
|
187 | 187 | */ |
188 | 188 | function bigbluebuttonbn_delete_instance($id) { |
189 | 189 | global $DB; |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | * |
211 | 211 | * @param object $bigbluebuttonbn Id of the module instance |
212 | 212 | * |
213 | - * @return bool Success/Failure |
|
213 | + * @return boolean|null Success/Failure |
|
214 | 214 | */ |
215 | 215 | function bigbluebuttonbn_delete_instance_log($bigbluebuttonbn) { |
216 | 216 | global $DB; |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | * @param object $mod |
232 | 232 | * @param object $bigbluebuttonbn |
233 | 233 | * |
234 | - * @return bool |
|
234 | + * @return string |
|
235 | 235 | */ |
236 | 236 | function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) { |
237 | 237 | if ($completed = bigbluebuttonbn_user_complete($course, $user, $mod, $bigbluebuttonbn)) { |
@@ -251,7 +251,7 @@ discard block |
||
251 | 251 | * @param object $mod |
252 | 252 | * @param object $bigbluebuttonbn |
253 | 253 | * |
254 | - * @return bool |
|
254 | + * @return integer |
|
255 | 255 | */ |
256 | 256 | function bigbluebuttonbn_user_complete($courseorid, $userorid, $mod, $bigbluebuttonbn) { |
257 | 257 | global $DB; |
@@ -624,7 +624,7 @@ discard block |
||
624 | 624 | * @param stdClass $context context object |
625 | 625 | * @param string $filearea file area |
626 | 626 | * |
627 | - * @return false|null false if file not valid |
|
627 | + * @return boolean false if file not valid |
|
628 | 628 | */ |
629 | 629 | function bigbluebuttonbn_pluginfile_valid($context, $filearea) { |
630 | 630 |