function _Student::get_degree_plan
Search API
4.x _Student.php | _Student::get_degree_plan($bool_load_full = true, $bool_ignore_settings = false) |
5.x _Student.php | _Student::get_degree_plan($bool_load_full = true, $bool_ignore_settings = false) |
Returns a student's degree plan object.
File
- classes/
_Student.php, line 540
Class
Code
function get_degree_plan($bool_load_full = true, $bool_ignore_settings = false)
{
$t_major_code = $this->get_major_and_track_code($bool_ignore_settings);
$degree_id = $this->db->get_degree_id($t_major_code, $this->catalog_year);
if ($bool_load_full)
{
$degree_plan = new DegreePlan($degree_id, $this->db);
}
else {
$degree_plan = new DegreePlan();
$degree_plan->degree_id = $degree_id;
$degree_plan->load_descriptive_data();
}
return $degree_plan;
}