function theme_apachesolr_search_mlt_recommendation_block in Apache Solr Search 6.3
Same name and namespace in other branches
- 8 apachesolr_search.module \theme_apachesolr_search_mlt_recommendation_block()
- 7 apachesolr_search.module \theme_apachesolr_search_mlt_recommendation_block()
1 theme call to theme_apachesolr_search_mlt_recommendation_block()
- apachesolr_search_block_view in ./
apachesolr_search.module - Vew a specific block according to the delta identifier
File
- ./
apachesolr_search.module, line 736 - Provides a content search implementation for node content for use with the Apache Solr search application.
Code
function theme_apachesolr_search_mlt_recommendation_block($vars) {
$docs = $vars;
$links = array();
foreach ($docs as $result) {
// Suitable for single-site mode. Label is already safe.
$links[] = l($result->label, $result->path, array(
'html' => TRUE,
));
}
$links = theme('item_list', $links);
return $links;
}