function _Student::load_settings
Search API
4.x _Student.php | _Student::load_settings() |
5.x _Student.php | _Student::load_settings() |
1 call to _Student::load_settings()
- _Student::load_student in classes/
_Student.php
File
- classes/
_Student.php, line 159
Class
Code
function load_settings() {
// This will load & set up the array_settings variable for this
// student.
$res = $this->db->db_query("SELECT settings FROM student_settings
WHERE
student_id = ? ", $this->student_id);
$cur = $this->db->db_fetch_array($res);
if ($arr = unserialize($cur ["settings"])) {
$this->array_settings = $arr;
}
}