You are here

function classified_block in Classified Ads 6.3

Implements hook_block().

File

./classified.module, line 615
A pure D6 classified ads module inspired by the ed_classified module.

Code

function classified_block($op = 'list', $delta = 0, $edit = array()) {
  switch ($op) {
    case 'list':
      $ret = classified_block_info();
      break;
    case 'view':
      $ret = classified_block_view($delta);
      break;
    case 'configure':
      $ret = classified_block_configure($delta);
      break;
    case 'save':
      classified_block_save($delta, $edit);
      $ret = NULL;
      break;
  }
  return $ret;
}