function fp_get_student_name
Search API
7.x db.inc | fp_get_student_name($cwid, $bool_include_cwid = FALSE) |
6.x db.inc | fp_get_student_name($cwid, |
4.x db.inc | fp_get_student_name($cwid) |
5.x db.inc | fp_get_student_name($cwid) |
3 calls to fp_get_student_name()
- stats_report_student_course_list in modules/
stats/ stats.module - This report shows a list of all of a student's courses which FlightPath is aware of.
- user_edit_student_user_form in modules/
user/ user.student.inc - Let the user edit a studentuser's information.
- user_student_edit_student_courses_form in modules/
user/ user.student.inc - This is the form which we will use to manage a student's courses they've taken.
File
- includes/
db.inc, line 413 - This file contains mostly db shortcuts.
Code
function fp_get_student_name($cwid) {
if ($cwid == 0) {
return t("Anonymous");
}
$db = get_global_database_handler();
$name = $db->get_student_name($cwid);
if (!$name) {
$name = t("Unknown Student");
}
return $name;
}