function AdvisingScreen::build_screen_elements

7.x AdvisingScreen.php AdvisingScreen::build_screen_elements()
6.x AdvisingScreen.php AdvisingScreen::build_screen_elements()

This function calls the other "build" functions to assemble the View or What If tabs in FlightPath.

File

classes/AdvisingScreen.php, line 1744

Class

AdvisingScreen

Code

function build_screen_elements() 
 {
  // This function will build & assemble all of the onscreen
  // elements for the advising screen.  It should be
  // called before display_screen();

  $this->build_semester_list();

  $this->build_excess_credit();
  $this->build_test_scores();

  $this->build_transfer_credit();

  // Should we add the graduate credit block?

  if (variable_get("display_graduate_credits_block", "yes") == "yes") {
    $this->build_graduate_credit();
  }

  if (!$this->bool_blank) 
   { // Don't show if this is a blank degree plan.
    $this->build_footnotes();
    $this->build_added_courses();
  }

  // invoke a hook, to give custom modules the chance to perform actions 
  // (or add blocks) to the advise screen after we have run this function.
  invoke_hook("advise_build_screen_elements", array(&$this));

}