You are here

function bbb_block_meeting in BigBlueButton 6

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

Meeting details block

1 call to bbb_block_meeting()
bbb_block in ./bbb.module
Implement HOOK_block().

File

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

Code

function bbb_block_meeting() {
  $output = '';
  if (arg(0) == 'node' && is_numeric(arg(1))) {
    $meeting = bbb_get_meeting(arg(1));
    if ($meeting) {
      $output = theme('bbb_block_meeting', $meeting);
    }
  }
  return $output;
}