16include_once 
"./Services/Object/classes/class.ilObject.php";
 
   48    public function __construct($a_id = 0, $a_call_by_reference = 
true)
 
   51        parent::__construct($a_id, $a_call_by_reference);
 
   58        $this->learning_progress = (bool) $a_enable;
 
   75        return (
bool) 
$ilSetting->get(
"enable_tracking", 0);
 
   83        $this->tracking_user_related = (bool) $a_enable;
 
  100        return (
bool) 
$ilSetting->get(
'save_user_related_data');
 
  112        return (
bool) 
$ilSetting->get(
'object_statistics', 0);
 
  123        $this->object_statistics_enabled = (bool) $newValue;
 
  143        $this->session_statistics_enabled = (bool) $newValue;
 
  164        return (
bool) 
$ilSetting->get(
'session_statistics', 1);
 
  169        $this->valid_time = (int) $a_time_span;
 
  183        return (
int) 
$ilSetting->get(
"tracking_time_span", self::DEFAULT_TIME_SPAN);
 
  195        $this->is_change_event_tracking_enabled = (bool) $newValue;
 
  210        $this->extended_data = $a_value;
 
  215        return (
int) $this->extended_data & (int) $a_code;
 
  227        $ilSetting->set(
"lp_extended_data", $this->extended_data);
 
  270        require_once 
'Services/Tracking/classes/class.ilChangeEvent.php';
 
  286            'DELETE FROM read_event WHERE usr_id = %s ',
 
  287            $ilDB->quote($a_usr_id, 
'integer')
 
  292            'DELETE FROM write_event WHERE usr_id = %s ',
 
  293            $ilDB->quote($a_usr_id, 
'integer')
 
  297        $query = 
"DELETE FROM ut_lp_marks WHERE usr_id = " . 
$ilDB->quote($a_usr_id, 
'integer') . 
" ";
 
  300        $ilDB->manipulate(
"DELETE FROM ut_online WHERE usr_id = " .
 
  301            $ilDB->quote($a_usr_id, 
"integer"));
 
  310        $rbacsystem = 
$DIC[
'rbacsystem'];
 
  315        return $rbacsystem->checkAccess(
"lp_other_users", 
$ref_id);
 
  320        $this->lp_learner = (bool) $a_value;
 
  334        return (
bool) 
$ilSetting->get(
"lp_learner", 1);
 
  339        $this->lp_list_gui = (bool) $a_value;
 
  353        return (
bool) 
$ilSetting->get(
"lp_list_gui", 0);
 
An exception for terminatinating execution or to throw for unit testing.
static _isActive()
Returns true, if change event tracking is active.
enabledLearningProgress()
enableSessionStatistics($newValue)
Sets the session statistics property.
enableObjectStatistics($newValue)
Sets the object statistics property.
enableLearningProgress($a_enable)
static _hasLearningProgressListGUI()
hasLearningProgressListGUI()
enabledObjectStatistics()
Gets the object statistic property.
$object_statistics_enabled
enableChangeEventTracking($newValue)
Sets the changeEventTrackingEnabled property.
static _hasLearningProgressOtherUsers()
enabledSessionStatistics()
Gets the session statistic property.
enableUserRelatedData($a_enable)
enable tracking of user related data
static _hasLearningProgressLearner()
static _enabledObjectStatistics()
check wether object statistics is enabled or not
const EXTENDED_DATA_READ_COUNT
static _enabledLearningProgress()
check wether learing progress is enabled or not
static _getValidTimeSpan()
hasLearningProgressLearner()
setLearningProgressListGUI($a_value)
static _enabledUserRelatedData()
check wether user related tracking is enabled or not
$session_statistics_enabled
__construct($a_id=0, $a_call_by_reference=true)
Constructor @access public.
static _deleteUser($a_usr_id)
static _enabledSessionStatistics()
check wether session statistics is enabled or not
const EXTENDED_DATA_SPENT_SECONDS
$is_change_event_tracking_enabled
This variable holds the enabled state of the change event tracking.
setExtendedData($a_value)
const EXTENDED_DATA_LAST_ACCESS
enabledChangeEventTracking()
Gets the changeEventTrackingEnabled property.
setValidTimeSpan($a_time_span)
setLearningProgressLearner($a_value)
Class ilObject Basic functions for all objects.
static _getObjectsByType($a_obj_type="", $a_owner="")
Get objects by type.
static _getAllReferences($a_id)
get all reference ids of object
foreach($_POST as $key=> $value) $res