function _AdvisingScreen::add_to_screen

4.x _AdvisingScreen.php _AdvisingScreen::add_to_screen($content_box)
5.x _AdvisingScreen.php _AdvisingScreen::add_to_screen($content_box, $index = "")

This function is used by the "build" functions most often. It very simply adds a block of HTML to an array called box_array.

Parameters

string $content_box:

7 calls to _AdvisingScreen::add_to_screen()
_AdvisingScreen::build_added_courses in classes/_AdvisingScreen.php
Constructs the HTML to show which courses have been added by an advisor.
_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_semester_list in classes/_AdvisingScreen.php
Constructs the HTML to display the list of semesters for the student.

... See full list

File

classes/_AdvisingScreen.php, line 1452

Class

_AdvisingScreen

Code

function add_to_screen($content_box, $index = "") {
  if ($index == "") {
    $this->box_array [] = $content_box;
  }
  else {
    $this->box_array [$index] = $content_box;
  }

}