function _Student::load_transfer_eqvs_unassigned

4.x _Student.php _Student::load_transfer_eqvs_unassigned()
5.x _Student.php _Student::load_transfer_eqvs_unassigned()
1 call to _Student::load_transfer_eqvs_unassigned()

File

classes/_Student.php, line 173

Class

_Student

Code

function load_transfer_eqvs_unassigned() 
 {
  $res = $this->db->db_query("SELECT `id`, transfer_course_id FROM student_unassign_transfer_eqv
									WHERE
									student_id = ? 
									AND delete_flag='0'
									ORDER BY id ", $this->student_id);
  while ($cur = $this->db->db_fetch_array($res)) 
   {
    extract($cur, 3, "db");
    $new_course = new Course();
    $new_course->bool_transfer = true;
    $new_course->course_id = $db_transfer_course_id;
    $new_course->db_unassign_transfer_id = $db_id;

    $this->list_transfer_eqvs_unassigned->add($new_course);

  }
}