73 if(is_object(self::$instance))
91 $this->export_course = (bool) $a_status;
101 $this->fora_statistics = (bool) $a_status;
119 $this->anonymous_fora = (bool) $a_status;
138 $this->export_confirm = (bool) $a_status;
150 $this->show_grp_access_times = $a_status;
173 $this->show_crs_access_times = $a_status;
195 $this->settings->set(
'ps_export_course',(
bool) $this->
enabledExport());
212 $query =
"SELECT object_reference.ref_id FROM object_reference,tree,object_data ".
213 "WHERE tree.parent = ".$ilDB->quote(SYSTEM_FOLDER_ID).
" ".
214 "AND object_data.type = 'ps' ".
215 "AND object_reference.ref_id = tree.child ".
216 "AND object_reference.obj_id = object_data.obj_id";
217 $res = $this->db->query($query);
219 $this->ref_id = $row[
"ref_id"];
221 $this->export_course = (bool) $this->settings->get(
'ps_export_course',
false);
222 $this->export_confirm = (bool) $this->settings->get(
'ps_export_confirm',
false);
223 $this->fora_statistics = (bool) $this->settings->get(
'enable_fora_statistics',
false);
224 $this->anonymous_fora = (bool) $this->settings->get(
'disable_anonymous_fora',
false);
225 $this->show_grp_access_times = (bool) $this->settings->get(
'ps_access_times',
false);
226 $this->show_crs_access_times = (bool) $this->settings->get(
'ps_crs_access_times',
false);