function _AdvisingScreen::draw_semester_box_top

4.x _AdvisingScreen.php _AdvisingScreen::draw_semester_box_top($title, $hideheaders = false)
5.x _AdvisingScreen.php _AdvisingScreen::draw_semester_box_top($title, $hideheaders = false)

Uses the draw_box_top function, specifically for semesters.

Parameters

string $title:

bool $hideheaders:

Return value

string

7 calls to _AdvisingScreen::draw_semester_box_top()
_AdvisingScreen::build_excess_credit in classes/_AdvisingScreen.php
Constructs the HTML to show the Excess Credits list.
_AdvisingScreen::build_footnotes in classes/_AdvisingScreen.php
Constructs the HTML which will show footnotes for substitutions and transfer credits.
_AdvisingScreen::build_graduate_credit in classes/_AdvisingScreen.php
Constructs the HTML which will be used to display the student's graduate credits (if any exist)
_AdvisingScreen::build_test_scores in classes/_AdvisingScreen.php
Constructs the HTML to show the student's test scores.
_AdvisingScreen::build_transfer_credit in classes/_AdvisingScreen.php
Constructs the HTML which will be used to display the student's transfer credits

... See full list

File

classes/_AdvisingScreen.php, line 3764

Class

_AdvisingScreen

Code

function draw_semester_box_top($title, $hideheaders = false) 
 {

  $w = 340;
  if ($this->page_is_mobile) {
    $w = "100%";
  }

  $extra_classes = " fp-semester-box-top fp-semester-box-top-" . fp_get_machine_readable(strtolower($title));


  return $this->draw_box_top($title, $hideheaders, $w, $extra_classes);
}