function _Course::get_details_by_degree

5.x _Course.php _Course::get_details_by_degree($degree_id, $key)

See also

set_details_by_degree()

9 calls to _Course::get_details_by_degree()
_Course::get_bool_exclude_repeat in classes/_Course.php
Returns TRUE or FALSE if this course has been marked as exclude_repeat. Specify a degree_id to be more specific. Use -1 to mean "ANY" degree?
_Course::get_bool_outdated_sub in classes/_Course.php
_Course::get_bool_substitution in classes/_Course.php
Similar to the functions regarding display, these will say if this course has been used in a substitution for a particular degree.
_Course::get_bool_substitution_new_from_split in classes/_Course.php
_Course::get_bool_substitution_split in classes/_Course.php

... See full list

File

classes/_Course.php, line 541

Class

_Course

Code

function get_details_by_degree($degree_id, $key) {
  return @$this->details_by_degree_array [$degree_id][$key];
}