function __read()
 {
     $res = $this->db->query("SELECT * FROM ut_lp_settings WHERE obj_id = " . $this->db->quote($this->obj_id, 'integer'));
     while ($row = $res->fetchRow(DB_FETCHMODE_OBJECT)) {
         $this->is_stored = true;
         $this->obj_type = $row->obj_type;
         $this->obj_mode = $row->u_mode;
         $this->visits = $row->visits;
         if (ilLPObjSettings::_checkObjectives($this->obj_id)) {
             $this->obj_mode = LP_MODE_OBJECTIVES;
         }
         if (ilLPObjSettings::_checkSCORMPreconditions($this->obj_id)) {
             $this->obj_mode = LP_MODE_SCORM;
         }
         return true;
     }
     return false;
 }