function jquery_countdown_block_block in jQuery Countdown 6
Implements hook_block().
File
- jquery_countdown_block/
jquery_countdown_block.module, line 105 - Provides configurable blocks of countdown timers.
Code
function jquery_countdown_block_block($op = 'list', $delta = NULL, $edit = NULL) {
$function = '_jquery_countdown_block_block_' . $op;
switch ($op) {
case 'view':
return $function($delta, $edit);
default:
// Ops besides "view" are seldom used, so are in a separate file.
module_load_include('inc', 'jquery_countdown_block', 'jquery_countdown_block.admin');
return $function($delta, $edit);
}
}