[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/project/solr/ -> project_solr.module (summary)

(no description)

File Size: 558 lines (20 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 15 functions

  project_solr_menu()
  project_solr_theme()
  project_solr_nodeapi()
  project_solr_form_apachesolr_delete_index_form_alter()
  project_solr_reindex_projects()
  project_solr_apachesolr_update_index()
  project_solr_browse_summary_page()
  project_solr_browse_page()
  project_solr_response_cache()
  project_solr_block()
  project_solr_append_api_term()
  project_sort_freetext()
  project_sort_freetext_submit()
  project_solr_render_search_result()
  theme_project_solr_no_count_facet_link()

Functions
Functions that are not part of a class:

project_solr_menu()   X-Ref
Implementation of hook_menu().


project_solr_theme()   X-Ref
Implementation of hook_theme().


project_solr_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL)   X-Ref
Implementation of hook_nodeapi().

Whenever a release node is edited or submitted, if the node is now
published, reindex the project node associated with that release.

project_solr_form_apachesolr_delete_index_form_alter(&$form, $form_state)   X-Ref
Implementation of hook_form_alter().


project_solr_reindex_projects($form, $form_state)   X-Ref
No description

project_solr_apachesolr_update_index(&$document, $node)   X-Ref
Implementation of hook_apachesolr_update_index().

This adds information about releases for the project to the Solr document
so we can facet on releases (API compatibility terms, usage, etc), along
with other project-specific metadata (e.g. shortname/uri).

Beware that this hook is invoked for all nodes, so we should be careful in
here to check that we're really dealing with a project node before trying
to access any project-specifc data.

project_solr_browse_summary_page()   X-Ref
Summary project browsing page.


project_solr_browse_page($term_name)   X-Ref
No description

project_solr_response_cache($set = FALSE)   X-Ref
No description

project_solr_block($op = 'list', $delta = 0, $edit = array()   X-Ref
Implementation of hook_block().


project_solr_append_api_term($values, $tid)   X-Ref
Append the API tid to selected fields that might be in the string.


project_sort_freetext()   X-Ref
Form callback; display a free text form.


project_sort_freetext_submit($form, &$form_state)   X-Ref
Submit handler for project_sort_freetext().


project_solr_render_search_result($result)   X-Ref
Perform the business logic to


theme_project_solr_no_count_facet_link($facet_text, $path, $options = array()   X-Ref
No description



Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7