function CourseList::set_req_by_degree_id
Search API
7.x CourseList.php | CourseList::set_req_by_degree_id($degree_id = 0) |
6.x CourseList.php | CourseList::set_req_by_degree_id($degree_id = 0) |
Set all the courses in this list to have the same "req_by_degree_id" value.
File
- classes/
CourseList.php, line 2477
Class
Code
function set_req_by_degree_id($degree_id = 0)
{
// Set the bool_substitution for all items
// in this list.
for ($t = 0; $t < $this->count; $t++)
{
$course = $this->array_list [$t];
$course->req_by_degree_id = $degree_id;
}
}