@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | * @uses FEATURE_GRADE_OUTCOMES |
| 102 | 102 | * @uses FEATURE_SHOW_DESCRIPTION |
| 103 | 103 | * @param string $feature |
| 104 | - * @return mixed True if yes (some features may use other values) |
|
| 104 | + * @return null|boolean True if yes (some features may use other values) |
|
| 105 | 105 | */ |
| 106 | 106 | function bigbluebuttonbn_supports($feature) { |
| 107 | 107 | if (!$feature) { |
@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | * |
| 221 | 221 | * @param object $bigbluebuttonbn Id of the module instance |
| 222 | 222 | * |
| 223 | - * @return bool Success/Failure |
|
| 223 | + * @return boolean|null Success/Failure |
|
| 224 | 224 | */ |
| 225 | 225 | function bigbluebuttonbn_delete_instance_log($bigbluebuttonbn) { |
| 226 | 226 | global $DB; |
@@ -241,7 +241,7 @@ discard block |
||
| 241 | 241 | * @param object $mod |
| 242 | 242 | * @param object $bigbluebuttonbn |
| 243 | 243 | * |
| 244 | - * @return bool |
|
| 244 | + * @return string |
|
| 245 | 245 | */ |
| 246 | 246 | function bigbluebuttonbn_user_outline($course, $user, $mod, $bigbluebuttonbn) { |
| 247 | 247 | if ($completed = bigbluebuttonbn_user_complete($course, $user, $mod, $bigbluebuttonbn)) { |
@@ -633,7 +633,7 @@ discard block |
||
| 633 | 633 | * |
| 634 | 634 | * @param object $bigbluebuttonbn BigBlueButtonBN form data |
| 635 | 635 | * |
| 636 | - * @return void |
|
| 636 | + * @return false|null |
|
| 637 | 637 | **/ |
| 638 | 638 | function bigbluebuttonbn_process_post_save($bigbluebuttonbn) { |
| 639 | 639 | global $DB; |
@@ -786,7 +786,7 @@ discard block |
||
| 786 | 786 | * @param stdClass $context context object |
| 787 | 787 | * @param string $filearea file area |
| 788 | 788 | * |
| 789 | - * @return false|null false if file not valid |
|
| 789 | + * @return boolean false if file not valid |
|
| 790 | 790 | */ |
| 791 | 791 | function bigbluebuttonbn_pluginfile_valid($context, $filearea) { |
| 792 | 792 | |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | * Remove this block when restored |
| 65 | 65 | */ |
| 66 | 66 | |
| 67 | - /** @var BIGBLUEBUTTONBN_DEFAULT_SERVER_URL string of default bigbluebutton server url */ |
|
| 67 | + /** @var BIGBLUEBUTTONBN_DEFAULT_SERVER_URL string of default bigbluebutton server url */ |
|
| 68 | 68 | const BIGBLUEBUTTONBN_DEFAULT_SERVER_URL = 'http://test-install.blindsidenetworks.com/bigbluebutton/'; |
| 69 | 69 | /** @var BIGBLUEBUTTONBN_DEFAULT_SHARED_SECRET string of default bigbluebutton server shared secret */ |
| 70 | 70 | const BIGBLUEBUTTONBN_DEFAULT_SHARED_SECRET = '8cd8ef52e8e101574e400365b55e11a6'; |
@@ -278,7 +278,7 @@ discard block |
||
| 278 | 278 | $sql = "SELECT COUNT(*) FROM {bigbluebuttonbn_logs} "; |
| 279 | 279 | $sql .= "WHERE courseid = ? AND bigbluebuttonbnid = ? AND userid = ? AND (log = ? OR log = ?)"; |
| 280 | 280 | $result = $DB->count_records_sql($sql, array($course->id, $bigbluebuttonbn->id, $user->id, |
| 281 | - BIGBLUEBUTTONBN_LOG_EVENT_JOIN, BIGBLUEBUTTONBN_LOG_EVENT_PLAYED)); |
|
| 281 | + BIGBLUEBUTTONBN_LOG_EVENT_JOIN, BIGBLUEBUTTONBN_LOG_EVENT_PLAYED)); |
|
| 282 | 282 | return $result; |
| 283 | 283 | } |
| 284 | 284 | |
@@ -507,12 +507,12 @@ discard block |
||
| 507 | 507 | $str = '<div class="bigbluebuttonbn overview">'."\n"; |
| 508 | 508 | $str .= ' <div class="name">'.get_string('modulename', 'bigbluebuttonbn').': '."\n"; |
| 509 | 509 | $str .= ' <a '.$classes.'href="'.$CFG->wwwroot.'/mod/bigbluebuttonbn/view.php?id='.$bigbluebuttonbn->coursemodule. |
| 510 | - '">'.$bigbluebuttonbn->name.'</a>'."\n"; |
|
| 510 | + '">'.$bigbluebuttonbn->name.'</a>'."\n"; |
|
| 511 | 511 | $str .= ' </div>'."\n"; |
| 512 | 512 | $str .= ' <div class="info">'.get_string($start, 'bigbluebuttonbn').': '.userdate($bigbluebuttonbn->openingtime). |
| 513 | 513 | '</div>'."\n"; |
| 514 | 514 | $str .= ' <div class="info">'.get_string('ends_at', 'bigbluebuttonbn').': '.userdate($bigbluebuttonbn->closingtime) |
| 515 | - .'</div>'."\n"; |
|
| 515 | + .'</div>'."\n"; |
|
| 516 | 516 | $str .= '</div>'."\n"; |
| 517 | 517 | return $str; |
| 518 | 518 | } |
@@ -720,7 +720,7 @@ discard block |
||
| 720 | 720 | $bigbluebuttonbn->coursemodule, |
| 721 | 721 | 'bigbluebuttonbn', |
| 722 | 722 | $bigbluebuttonbn->id, $bigbluebuttonbn->completionexpected |
| 723 | - ); |
|
| 723 | + ); |
|
| 724 | 724 | } |
| 725 | 725 | } |
| 726 | 726 | |