function db_get_school_id_for_student_id

7.x db.inc db_get_school_id_for_student_id($student_id)
6.x db.inc db_get_school_id_for_student_id($student_id)
29 calls to db_get_school_id_for_student_id()
advise_display_history in modules/advise/advise.history.inc
Displays the history tab on screen.
advise_display_popup_change_term in modules/advise/advise.module
This popup allows the advisor to change the advising term.
advise_display_popup_group_select in modules/advise/advise.module
advise_display_popup_substitute_selected in modules/advise/advise.module
advise_display_view in modules/advise/advise.module
This is the page which actually displays the "view" for the user to see their advising session, or for an advisor to advise them.

... See full list

File

includes/db.inc, line 760
This file contains mostly db shortcuts.

Code

function db_get_school_id_for_student_id($student_id) {
  $db = get_global_database_handler();
  return $db->get_school_id_for_student_id($student_id);
}