function _DegreePlan::calculate_progress_hours

4.x _DegreePlan.php _DegreePlan::calculate_progress_hours()
5.x _DegreePlan.php _DegreePlan::calculate_progress_hours($bool_get_local_only_hours = FALSE, $types = array())

File

classes/_DegreePlan.php, line 74

Class

_DegreePlan

Code

function calculate_progress_hours() 
 {
  $this->total_major_hours = $this->get_progress_hours("m");
  $this->total_core_hours = $this->get_progress_hours("c");
  $this->total_degree_hours = $this->get_progress_hours("");

  $this->fulfilled_major_hours = $this->get_progress_hours("m", false);
  $this->fulfilled_core_hours = $this->get_progress_hours("c", false);
  $this->fulfilled_degree_hours = $this->get_progress_hours("", false);


  $this->major_qpts_hours = $this->get_progress_hours("m", false, TRUE);
  $this->core_qpts_hours = $this->get_progress_hours("c", false, TRUE);
  $this->degree_qpts_hours = $this->get_progress_hours("", false, TRUE);


}