function _DegreePlan::to_string

4.x _DegreePlan.php _DegreePlan::to_string()
5.x _DegreePlan.php _DegreePlan::to_string()

File

classes/_DegreePlan.php, line 766

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;
}