function Course::get_has_been_assigned_to_any_degree

6.x Course.php Course::get_has_been_assigned_to_any_degree()
7.x Course.php Course::get_has_been_assigned_to_any_degree()

Has the course been assigned to ANY degree?

File

classes/Course.php, line 2096

Class

Course

Code

function get_has_been_assigned_to_any_degree() {
  if (isset($this->assigned_to_degree_ids_array) && count($this->assigned_to_degree_ids_array) > 0) {
    return TRUE;
  }

  return FALSE;
}