コード例 #1
0
 function _tracProgress($a_user_id, $a_obj_id, $a_ref_id, $a_obj_type = '')
 {
     global $ilDB;
     require_once 'Services/Tracking/classes/class.ilChangeEvent.php';
     ilChangeEvent::_recordReadEvent($a_obj_type, $a_ref_id, $a_obj_id, $a_user_id);
     require_once 'Services/Tracking/classes/class.ilLPStatus.php';
     ilLPStatus::setInProgressIfNotAttempted($a_obj_id, $a_user_id);
     return true;
 }