function Course::set_details_by_degree

7.x Course.php Course::set_details_by_degree($degree_id, $key, $val)
6.x Course.php Course::set_details_by_degree($degree_id, $key, $val)

Convenience function to set a value into our details_by_degree_array.

File

classes/Course.php, line 524

Class

Course

Code

function set_details_by_degree($degree_id, $key, $val) {
  $this->details_by_degree_array [$degree_id][$key] = $val;
}