function apachesolr_theme in Apache Solr Search 6
Same name and namespace in other branches
- 8 apachesolr.module \apachesolr_theme()
- 6.3 apachesolr.module \apachesolr_theme()
- 6.2 apachesolr.module \apachesolr_theme()
- 7 apachesolr.module \apachesolr_theme()
Implementation of hook_theme().
File
- ./
apachesolr.module, line 1608 - Integration with the Apache Solr search application.
Code
function apachesolr_theme() {
return array(
/**
* Returns a link for a facet term, with the number (count) of results for that term
*/
'apachesolr_facet_link' => array(
'arguments' => array(
'facet_text' => NULL,
'path' => NULL,
'options' => NULL,
'count' => NULL,
'active' => FALSE,
'num_found' => NULL,
),
),
/**
* Returns a link to remove a facet filter from the current search.
*/
'apachesolr_unclick_link' => array(
'arguments' => array(
'facet_text' => NULL,
'path' => NULL,
'options' => NULL,
),
),
/**
* Returns a list of links from the above functions (apachesolr_facet_item and apachesolr_unclick_link)
*/
'apachesolr_facet_list' => array(
'arguments' => array(
'items' => NULL,
'display_limit' => NULL,
),
),
/**
* Returns a list of links generated by apachesolr_sort_link
*/
'apachesolr_sort_list' => array(
'arguments' => array(
'items' => NULL,
),
),
/**
* Returns a link which can be used to search the results.
*/
'apachesolr_sort_link' => array(
'arguments' => array(
'text' => NULL,
'path' => NULL,
'options' => NULL,
'active' => FALSE,
'direction' => '',
),
),
/**
* Returns a list of results (docs) in content recommendation block
*/
'apachesolr_mlt_recommendation_block' => array(
'arguments' => array(
'docs' => NULL,
'delta' => NULL,
),
),
);
}