function _DegreePlan::get_track_title

5.x _DegreePlan.php _DegreePlan::get_track_title($bool_include_classification = FALSE)

File

classes/_DegreePlan.php, line 796

Class

_DegreePlan

Code

function get_track_title($bool_include_classification = FALSE) {
  $this->load_descriptive_data();

  $ttitle = trim($this->track_title);
  if ($ttitle == "") {
    return FALSE; // there is no track?
  }

  if ($bool_include_classification) {

    $details = fp_get_degree_classification_details($this->degree_class);

    $ttitle .= " (" . $details ["title"] . ")";
  }

  return $ttitle;


}