function _AdvisingScreen::display_group_course_list
Search API
4.x _AdvisingScreen.php | _AdvisingScreen::display_group_course_list($course_list, $group, $semester_num) |
5.x _AdvisingScreen.php | _AdvisingScreen::display_group_course_list($course_list, $group, $semester_num) |
Displays all the courses in a CourseList object, using the draw_course_row function.
It looks like the group and semester_num are not being used anymore.
@todo Check on unused variables.
Parameters
CourseList $course_list:
unknown_type $group:
unknown_type $semester_num:
Return value
unknown
1 call to _AdvisingScreen::display_group_course_list()
- _AdvisingScreen::display_group in classes/
_AdvisingScreen.php - This function displays a Group object on the degree plan. This is not the selection popup display. It will either show the group as multi rows, filled in with courses, or as a "blank row" for the user to click on.
File
- classes/
_AdvisingScreen.php, line 2605
Class
Code
function display_group_course_list($course_list, $group, $semester_num)
{
$course_list->reset_counter();
while ($course_list->has_more())
{
$course = $course_list->get_next();
$pC .= $this->draw_course_row($course, $course->icon_filename, $course->title_text, $course->temp_flag);
// Doesn't matter if its a specified repeat or not. Just
// mark it as having been displayed.
$course->bool_has_been_displayed = true;
}
return $pC;
}