You are here

function bbb_block_meeting in BigBlueButton 7

Same name and namespace in other branches
  1. 6 bbb.module \bbb_block_meeting()

Meeting details block

1 call to bbb_block_meeting()
bbb_block_view in ./bbb.module
Implements HOOK_block_view().

File

./bbb.module, line 225
Big Blue Button - Enables universities and colleges to deliver a high-quality learning experience.

Code

function bbb_block_meeting($delta) {
  $output = '';
  switch ($delta) {
    case 'bbb_login_meeting':
      $meeting = bbb_get_meeting(arg(1));
      if ($meeting) {
        $output = theme('bbb_block_meeting', array(
          'meeting' => $meeting,
        ));
      }
      break;
  }
  return $output;
}