function AdvisingScreen::add_to_screen
Search API
7.x AdvisingScreen.php | AdvisingScreen::add_to_screen($content_box, $index = "") |
6.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.
File
- classes/
AdvisingScreen.php, line 1729
Class
Code
function add_to_screen($content_box, $index = "") {
if ($index == "") {
$this->box_array [] = $content_box;
}
else {
$this->box_array [$index] = $content_box;
}
}