ILIAS
Release_4_1_x_branch Revision 61804
|
Public Member Functions | |
ilTracking () | |
_getLastAccess () | |
get last access data of current user | |
_hasEntry ($a_obj_id, $a_obj_type, $a_sub_id=0, $a_sub_type="") | |
_trackAccess ($a_obj_id, $a_ref_id, $a_obj_type, $a_sub_id=0, $a_sub_type="", $a_action_type="read") | |
track access to an object by current user | |
TestTitle ($user_id) | |
numDay ($from, $to) | |
numHour ($from, $to) | |
addHour ($time) | |
addDay ($time) | |
getSubId ($id) | |
getSubTest ($id) | |
getTestId ($id) | |
countResults ($condition) | |
searchResults ($condition) | |
searchTestResults ($condition) | |
searchUserId ($condition) | |
searchTestId ($condition) | |
getPerTestId ($test) | |
countNum ($from, $from1, $condition) | |
selectTime ($from, $to, $condition) | |
getTest ($id) |
Data Fields | |
$objId | |
$userId | |
$actionType | |
$phpScript | |
$clientIp | |
$accObjType | |
$accObjId | |
$accSubType | |
$accSubId | |
$lanugage | |
$browser | |
$sessionId | |
$acc_time | |
$db |
Definition at line 12 of file class.ilTracking.php.
ilTracking::_getLastAccess | ( | ) |
get last access data of current user
Definition at line 44 of file class.ilTracking.php.
References $ilDB, $res, and DB_FETCHMODE_ASSOC.
ilTracking::_hasEntry | ( | $a_obj_id, | |
$a_obj_type, | |||
$a_sub_id = 0 , |
|||
$a_sub_type = "" |
|||
) |
Definition at line 57 of file class.ilTracking.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by _trackAccess().
ilTracking::_trackAccess | ( | $a_obj_id, | |
$a_ref_id, | |||
$a_obj_type, | |||
$a_sub_id = 0 , |
|||
$a_sub_type = "" , |
|||
$a_action_type = "read" |
|||
) |
track access to an object by current user
int | $a_obj_id | object id |
string | $a_obj_type | object type (e.g. "lm") |
int | $a_sub_id | subobject id |
string | $a_sub_type | subobject type (e.g. "pg") |
string | $a_action_type | "read", "write", ... |
Definition at line 82 of file class.ilTracking.php.
References $ilDB, ilObjUserTracking\_enabledLearningProgress(), ilObjUserTracking\_enabledTracking(), ilObjUserTracking\_enabledUserRelatedData(), _hasEntry(), ilLearningProgress\_tracProgress(), and ilUtil\now().
Referenced by ilLMPresentationGUI\ilPage(), and ilObjFileBasedLMGUI\showLearningModule().
ilTracking::addDay | ( | $time | ) |
Definition at line 232 of file class.ilTracking.php.
References $ret.
ilTracking::addHour | ( | $time | ) |
Definition at line 219 of file class.ilTracking.php.
References $ret.
ilTracking::countNum | ( | $from, | |
$from1, | |||
$condition | |||
) |
Definition at line 374 of file class.ilTracking.php.
ilTracking::countResults | ( | $condition | ) |
ilTracking::getPerTestId | ( | $test | ) |
Definition at line 363 of file class.ilTracking.php.
ilTracking::getSubId | ( | $id | ) |
Definition at line 246 of file class.ilTracking.php.
ilTracking::getSubTest | ( | $id | ) |
Definition at line 260 of file class.ilTracking.php.
ilTracking::getTest | ( | $id | ) |
Definition at line 407 of file class.ilTracking.php.
ilTracking::getTestId | ( | $id | ) |
Definition at line 275 of file class.ilTracking.php.
ilTracking::ilTracking | ( | ) |
ilTracking::numDay | ( | $from, | |
$to | |||
) |
Definition at line 190 of file class.ilTracking.php.
References $ret.
ilTracking::numHour | ( | $from, | |
$to | |||
) |
Definition at line 203 of file class.ilTracking.php.
References $ret.
ilTracking::searchResults | ( | $condition | ) |
Definition at line 302 of file class.ilTracking.php.
ilTracking::searchTestId | ( | $condition | ) |
ilTracking::searchTestResults | ( | $condition | ) |
Definition at line 319 of file class.ilTracking.php.
ilTracking::searchUserId | ( | $condition | ) |
ilTracking::selectTime | ( | $from, | |
$to, | |||
$condition | |||
) |
Definition at line 389 of file class.ilTracking.php.
References $ilDB, $res, and $result.
ilTracking::TestTitle | ( | $user_id | ) |
Definition at line 173 of file class.ilTracking.php.
ilTracking::$acc_time |
Definition at line 26 of file class.ilTracking.php.
ilTracking::$accObjId |
Definition at line 20 of file class.ilTracking.php.
ilTracking::$accObjType |
Definition at line 19 of file class.ilTracking.php.
ilTracking::$accSubId |
Definition at line 22 of file class.ilTracking.php.
ilTracking::$accSubType |
Definition at line 21 of file class.ilTracking.php.
ilTracking::$actionType |
Definition at line 16 of file class.ilTracking.php.
ilTracking::$browser |
Definition at line 24 of file class.ilTracking.php.
ilTracking::$clientIp |
Definition at line 18 of file class.ilTracking.php.
ilTracking::$db |
Definition at line 28 of file class.ilTracking.php.
ilTracking::$lanugage |
Definition at line 23 of file class.ilTracking.php.
ilTracking::$objId |
Definition at line 14 of file class.ilTracking.php.
ilTracking::$phpScript |
Definition at line 17 of file class.ilTracking.php.
ilTracking::$sessionId |
Definition at line 25 of file class.ilTracking.php.
ilTracking::$userId |
Definition at line 15 of file class.ilTracking.php.