_Course::set_bool_substitution

5.x _Course.php _Course::set_bool_substitution($degree_id = 0, $val = TRUE)

File

classes/_Course.php, line 441

Class

_Course

Code

function set_bool_substitution($degree_id = 0, $val = TRUE) {

  // If degree_id is zero, then use the course's currently req_by_degree_id.    
  if ($degree_id == 0) {
    $degree_id = $this->req_by_degree_id;
  }

  //$this->bool_substitution_by_degree_array[$degree_id] = $val;
  $this->set_details_by_degree($degree_id, "bool_substitution", $val);

}