function GroupList::set_req_by_degree_id
Search API
6.x GroupList.php | GroupList::set_req_by_degree_id($degree_id = 0) |
Set all the courses and branches in this group to the specified degree_id.
File
- classes/
GroupList.php, line 47
Class
Code
function set_req_by_degree_id($degree_id = 0) {
// Loop through all the groups in this list...
$this->reset_counter();
while ($this->has_more()) {
$g = $this->get_next();
// Set req_by_degree_id on this group...
$g->set_req_by_degree_id($degree_id);
}
}