function _Student::load_student_data

4.x _Student.php _Student::load_student_data()
5.x _Student.php _Student::load_student_data()

This loads a student's personal data, like name and so forth.

1 call to _Student::load_student_data()

File

classes/_Student.php, line 465

Class

_Student

Code

function load_student_data() 
 {

  $this->cumulative_hours = $this->db->get_student_cumulative_hours($this->student_id);
  $this->gpa = $this->db->get_student_gpa($this->student_id);
  $this->rank = $this->get_rank_description($this->db->get_student_rank($this->student_id));
  $this->major_code = $this->db->get_student_major_from_db($this->student_id);
  $this->catalog_year = $this->db->get_student_catalog_year($this->student_id);
  $this->name = $this->db->get_student_name($this->student_id);


}