function fp_get_faculty_name
Search API
7.x db.inc | fp_get_faculty_name($cwid) |
6.x db.inc | fp_get_faculty_name($cwid) |
4.x db.inc | fp_get_faculty_name($cwid) |
5.x db.inc | fp_get_faculty_name($cwid) |
Returns the faculty member's name based on the ID provided.
4 calls to fp_get_faculty_name()
- advise_display_history in modules/
advise/ advise.history.inc - Displays the history tab on screen.
- advise_popup_display_summary in modules/
advise/ advise.history.inc - Displays the printable advising summary.
- comments_render_comment in modules/
comments/ comments.module - Display the comment array in a pretty way.
- user_edit_user_form in modules/
user/ user.module - Let the user edit a user's roles and other information.
File
- includes/
db.inc, line 71 - This file contains mostly db shortcuts.
Code
function fp_get_faculty_name($cwid) {
$db = get_global_database_handler();
$name = $db->get_faculty_name($cwid);
if (!$name) {
$name = t("Unknown Advisor");
}
return $name;
}