You are here

function theme_apachesolr_breadcrumb_uid in Apache Solr Search 5

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

Return the username from $uid

File

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

Code

function theme_apachesolr_breadcrumb_uid($uid) {
  $user = user_load(array(
    'uid' => $uid,
  ));
  return $user->name;
}