You are here

function homebox_build_block in Homebox 6.3

Same name and namespace in other branches
  1. 6.2 homebox.module \homebox_build_block()
  2. 7.3 homebox.module \homebox_build_block()
  3. 7.2 homebox.module \homebox_build_block()

Render a single block, for AHAH callbacks.

1 string reference to 'homebox_build_block'
homebox_menu in ./homebox.module
Implementation of hook_menu().

File

./homebox.module, line 697
Homebox main file, takes care of global functions settings constants, etc.

Code

function homebox_build_block($page, $key) {
  drupal_json(array(
    'status' => TRUE,
    'data' => theme('homebox_block', homebox_prepare_block($key, $page), $page),
  ));
}