78 if(is_object(self::$instance))
108 global $ilUser,$ilAccess,$rbacsystem;
110 $user_id = $a_user_id ? $a_user_id : $ilUser->getId();
124 $this->export_course = (bool) $a_status;
129 $this->export_group = (bool) $a_status;
138 $this->fora_statistics = (bool) $a_status;
156 $this->anonymous_fora = (bool) $a_status;
174 $this->rbac_log = (bool) $a_status;
192 $this->rbac_log_age = (int) $a_age;
229 $this->export_confirm_course = (bool) $a_status;
234 $this->export_confirm_group = (bool) $a_status;
246 $this->show_grp_access_times = $a_status;
269 $this->show_crs_access_times = $a_status;
297 $this->settings->set(
'rbac_log_age',(
int) $this->
getRbacLogAge());
310 $query =
"SELECT object_reference.ref_id FROM object_reference,tree,object_data ".
311 "WHERE tree.parent = ".$ilDB->quote(SYSTEM_FOLDER_ID,
'integer').
" ".
312 "AND object_data.type = 'ps' ".
313 "AND object_reference.ref_id = tree.child ".
314 "AND object_reference.obj_id = object_data.obj_id";
317 $this->ref_id =
$row[
"ref_id"];
319 $this->export_course = (bool) $this->settings->get(
'ps_export_course',
false);
320 $this->export_group = (bool) $this->settings->get(
'ps_export_group',
false);
321 $this->export_confirm_course = (bool) $this->settings->get(
'ps_export_confirm',
false);
322 $this->export_confirm_group = (bool) $this->settings->get(
'ps_export_confirm_group',
false);
323 $this->show_grp_access_times = (bool) $this->settings->get(
'ps_access_times',
false);
324 $this->show_crs_access_times = (bool) $this->settings->get(
'ps_crs_access_times',
false);
325 $this->rbac_log = (bool) $this->settings->get(
'rbac_log',
false);
326 $this->rbac_log_age = (int) $this->settings->get(
'rbac_log_age',6);