function DegreePlan::to_string

7.x DegreePlan.php DegreePlan::to_string()
6.x DegreePlan.php DegreePlan::to_string()

File

classes/DegreePlan.php, line 1372

Class

DegreePlan

Code

function to_string() 
 {
  // Output this degree plan object in a helpful manner.
  $rtn = "";

  $rtn .= "Degree Plan: $this->title ($this->major_code) \n";
  $rtn .= $this->list_semesters->to_string();
  $rtn .= "----------------------------------------- \n";
  $rtn .= "--  ALL GROUPS   \n";
  $rtn .= $this->list_groups->to_string();



  return $rtn;
}