function theme_apachesolr_mlt_recommendation_block in Apache Solr Search 5.2
Same name and namespace in other branches
- 5 contrib/apachesolr_mlt/apachesolr_mlt.module \theme_apachesolr_mlt_recommendation_block()
- 6 apachesolr.module \theme_apachesolr_mlt_recommendation_block()
- 6.2 apachesolr.module \theme_apachesolr_mlt_recommendation_block()
1 theme call to theme_apachesolr_mlt_recommendation_block()
- apachesolr_block in ./
apachesolr.module - Implementation of hook_block().
File
- ./
apachesolr.module, line 1647 - Integration with the Apache Solr search application.
Code
function theme_apachesolr_mlt_recommendation_block($docs) {
$links = array();
foreach ($docs as $result) {
// Suitable for single-site mode.
$links[] = l($result->title, $result->path, array(
'html' => TRUE,
));
}
return theme('item_list', $links);
}