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) |
| 5.x db.inc | fp_get_faculty_name($cwid) |
Returns the faculty member's name based on the ID provided.
8 calls to fp_get_faculty_name()
- advise.history.inc in modules/
advise/ advise.history.inc - 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.module in modules/
comments/ comments.module - comments_render_comment in modules/
comments/ comments.module - Display the comment array in a pretty way.
File
- includes/
db.inc, line 253 - 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;
}
