function student_search_subtab_switchboard

6.x student_search.module student_search_subtab_switchboard()
4.x student_search.module student_search_subtab_switchboard()
5.x student_search.module student_search_subtab_switchboard()

The primary purpose of this function is to decide which "sub tab" function to send the user off to. This is based on whatever their previous selection was.

File

modules/student_search/student_search.module, line 175

Code

function student_search_subtab_switchboard() {

  $last_tab = $_SESSION ["student_search_last_tab"];
  if ($last_tab == "") {
    $last_tab = 'search';
  }


  fp_goto("student-search/$last_tab");

}