You are here

function forena_block_view in Forena Reports 7

Same name and namespace in other branches
  1. 7.5 forena.module \forena_block_view()
  2. 7.2 forena.module \forena_block_view()
  3. 7.3 forena.module \forena_block_view()
  4. 7.4 forena.module \forena_block_view()

Implementation of hook_block_view

File

./forena.module, line 169

Code

function forena_block_view($delta = 0) {

  // Inlcude the base library
  require_once 'forena.common.inc';
  switch ($delta) {
    case 'forena_reports':
      $block = array(
        'subject' => 'My Reports',
        'content' => forena_my_reports_block(),
      );
      break;
  }
  return $block;
}