5 include_once
'./Services/WebServices/ECS/interfaces/interface.ilECSCommandQueueHandler.php';
6 include_once
'./Services/WebServices/ECS/classes/class.ilECSSetting.php';
7 include_once
'./Services/WebServices/ECS/classes/class.ilECSParticipantSetting.php';
67 include_once
'./Services/WebServices/ECS/classes/Connectors/class.ilECSEnrolmentStatus.php';
68 include_once
'./Services/WebServices/ECS/classes/Connectors/class.ilECSEnrolmentStatusConnector.php';
70 $status = $enrolment_con->getEnrolmentStatus($a_content_id);
71 $GLOBALS[
'ilLog']->write(__METHOD__.
': '.print_r($status,TRUE));
72 $GLOBALS[
'ilLog']->write(__METHOD__.
': '.$status->getPersonIdType());
73 $GLOBALS[
'ilLog']->write(__METHOD__.
': '.$status->getPersonId());
74 switch($status->getPersonIdType())
78 $GLOBALS[
'ilLog']->write(__METHOD__.
': Handling status change to '.$status->getStatus().
' for user '.$id_arr[
'id']);
79 $this->
doUpdate($id_arr[
'id'],$status);
85 $GLOBALS[
'ilLog']->write(__METHOD__.
': not implemented yes: person id type: '.$status->getPersonIdType());
92 $GLOBALS[
'ilLog']->write(__METHOD__.
': Enrolment status change failed with messsage: '.$e->getMessage());
127 include_once
'./Services/WebServices/ECS/classes/class.ilECSImport.php';
129 $obj_id = end($obj_ids);
147 $GLOBALS[
'ilLog']->write(__METHOD__.
': Add desktop item: '.$a_usr_id.
' '.
$ref_id.
' '.$obj_id);
155 $GLOBALS[
'ilLog']->write(__METHOD__.
': Remove desktop item: '.$a_usr_id.
' '.
$ref_id.
' '.$obj_id);