You are here

function apachesolr_search_block in Apache Solr Search 6.3

Same name and namespace in other branches
  1. 5.2 apachesolr_search.module \apachesolr_search_block()
  2. 5 apachesolr_search.module \apachesolr_search_block()
  3. 6 apachesolr_search.module \apachesolr_search_block()
  4. 6.2 apachesolr_search.module \apachesolr_search_block()

Implements hook_block().

File

./apachesolr_search.module, line 439
Provides a content search implementation for node content for use with the Apache Solr search application.

Code

function apachesolr_search_block($op = 'list', $delta = 0, $edit = array()) {
  switch ($op) {
    case 'list':
      return apachesolr_search_block_info();
      break;
    case 'view':
      return apachesolr_search_block_view($delta);
      break;
    case 'configure':
      return apachesolr_search_block_configure($delta);
      break;
    case 'save':
      return apachesolr_search_block_save($delta, $edit);
      break;
  }
}