You are here

function homebox_build_block in Homebox 7.2

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

Render a single block, for AJAX callbacks.

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

File

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

Code

function homebox_build_block($page, $key) {
  return ajax_deliver(theme('homebox_block', array(
    'block' => homebox_prepare_block($key, $page),
    'page' => $page,
  )));
}