|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Synchronize member assignments. More...
Inheritance diagram for ilECSCmsCourseMemberCommandQueueHandler:
Collaboration diagram for ilECSCmsCourseMemberCommandQueueHandler:Public Member Functions | |
| __construct (ilECSSetting $server) | |
| Constructor. More... | |
| getServer () | |
| Get server. More... | |
| getMid () | |
| get current mid More... | |
| getMappingSettings () | |
| Get mapping settings. More... | |
| checkAllocationActivation (ilECSSetting $server, $a_content_id) | |
| Check if course allocation is activated for one recipient of the. More... | |
| handleCreate (ilECSSetting $server, $a_content_id) | |
| Handle create. More... | |
| handleDelete (ilECSSetting $server, $a_content_id) | |
| Handle delete. More... | |
| handleUpdate (ilECSSetting $server, $a_content_id) | |
| Handle update. More... | |
| handleCreate (ilECSSetting $server, $a_content_id) | |
| Handle create event. More... | |
| handleUpdate (ilECSSetting $server, $a_content_id) | |
| Handle update. More... | |
| handleDelete (ilECSSetting $server, $a_content_id) | |
| Handle delete action. More... | |
Protected Member Functions | |
| doUpdate ($a_content_id, $course_member) | |
| Perform update. More... | |
| readAssignments ($course, $course_member) | |
| Read assignments for all parallel groups. More... | |
| refreshAssignmentStatus ($course_member, $obj_id, $sub_id, $assigned) | |
| Refresh status of course member assignments. More... | |
| lookupRole ($role_value, $a_obj_type) | |
| Lookup local role by assignment. More... | |
Protected Attributes | |
| $log | |
Private Member Functions | |
| createMember ($a_person_id) | |
| Create user account. More... | |
| readCourseMember (ilECSSetting $server, $a_content_id) | |
| Read course from ecs. More... | |
| readCourse ($course_member) | |
| Read course from ecs. More... | |
Private Attributes | |
| $server = null | |
| $mid = 0 | |
| $mapping = null | |
Synchronize member assignments.
Definition at line 15 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
| ilECSCmsCourseMemberCommandQueueHandler::__construct | ( | ilECSSetting | $server | ) |
Constructor.
Definition at line 30 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
| ilECSCmsCourseMemberCommandQueueHandler::checkAllocationActivation | ( | ilECSSetting | $server, |
| $a_content_id | |||
| ) |
Check if course allocation is activated for one recipient of the.
| ilECSSetting | $server | |
| type | $a_content_id |
Definition at line 69 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References Vendor\Package\$e, $server, ilECSParticipantSetting\getInstance(), ilECSNodeMappingSettings\getInstanceByServerMid(), getMappingSettings(), getMid(), and getServer().
Referenced by handleCreate(), and handleUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Create user account.
| type | $a_person_id |
Definition at line 452 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $query, $server, $xml, ilAuthUtils\_getAuthModeName(), ilLDAPServer\_getFirstActiveServer(), AUTH_SHIBBOLETH, ilUserCreationContext\CONTEXT_LDAP, ilUserCreationContext\getInstance(), ilLDAPServer\getInstanceByServerId(), getMappingSettings(), and IL_LDAP_BIND_DEFAULT.
Referenced by refreshAssignmentStatus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Perform update.
| type | $a_content_id |
Definition at line 162 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $mid, ilLogLevel\DEBUG, getMid(), getServer(), if, ilECSImport\lookupObjIdByContentId(), readAssignments(), readCourse(), and refreshAssignmentStatus().
Referenced by handleCreate(), and handleUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilECSCmsCourseMemberCommandQueueHandler::getMappingSettings | ( | ) |
Get mapping settings.
Definition at line 59 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $mapping.
Referenced by checkAllocationActivation(), createMember(), lookupRole(), and refreshAssignmentStatus().
Here is the caller graph for this function:| ilECSCmsCourseMemberCommandQueueHandler::getMid | ( | ) |
get current mid
Definition at line 49 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $mid.
Referenced by checkAllocationActivation(), doUpdate(), and readCourse().
Here is the caller graph for this function:| ilECSCmsCourseMemberCommandQueueHandler::getServer | ( | ) |
Get server.
Definition at line 40 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $server.
Referenced by checkAllocationActivation(), doUpdate(), readCourse(), and refreshAssignmentStatus().
Here is the caller graph for this function:| ilECSCmsCourseMemberCommandQueueHandler::handleCreate | ( | ilECSSetting | $server, |
| $a_content_id | |||
| ) |
Handle create.
| ilECSSetting | $server | |
| type | $a_content_id |
Implements ilECSCommandQueueHandler.
Definition at line 103 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References Vendor\Package\$e, checkAllocationActivation(), doUpdate(), and readCourseMember().
Here is the call graph for this function:| ilECSCmsCourseMemberCommandQueueHandler::handleDelete | ( | ilECSSetting | $server, |
| $a_content_id | |||
| ) |
Handle delete.
| ilECSSetting | $server | |
| type | $a_content_id |
Implements ilECSCommandQueueHandler.
Definition at line 129 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
| ilECSCmsCourseMemberCommandQueueHandler::handleUpdate | ( | ilECSSetting | $server, |
| $a_content_id | |||
| ) |
Handle update.
| ilECSSetting | $server | |
| type | $a_content_id |
Implements ilECSCommandQueueHandler.
Definition at line 140 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References Vendor\Package\$e, checkAllocationActivation(), doUpdate(), and readCourseMember().
Here is the call graph for this function:
|
protected |
Lookup local role by assignment.
| string | $role_value |
Definition at line 410 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $name, getMappingSettings(), IL_CRS_ADMIN, IL_CRS_MEMBER, IL_CRS_TUTOR, IL_GRP_ADMIN, and IL_GRP_MEMBER.
Referenced by refreshAssignmentStatus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Read assignments for all parallel groups.
| type | $course | |
| type | $course_member |
Definition at line 212 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References if, ilECSMappingUtils\PARALLEL_ALL_COURSES, ilECSMappingUtils\PARALLEL_GROUPS_IN_COURSE, and ilECSMappingUtils\PARALLEL_ONE_COURSE.
Referenced by doUpdate().
Here is the caller graph for this function:
|
private |
Read course from ecs.
Definition at line 518 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References Vendor\Package\$e, getMid(), getServer(), and ilECSImport\lookupEContentIdByContentId().
Referenced by doUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Read course from ecs.
Definition at line 501 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References Vendor\Package\$e, and $server.
Referenced by handleCreate(), and handleUpdate().
Here is the caller graph for this function:
|
protected |
Refresh status of course member assignments.
| object | $course_member | |
| int | $obj_id |
Definition at line 283 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $login, $type, ilObjUser\_checkExternalAuthAccount(), ilCourseParticipants\_getInstanceByObjId(), ilGroupParticipants\_getInstanceByObjId(), ilObjUser\_lookupId(), ilObject\_lookupTitle(), ilObject\_lookupType(), createMember(), getMappingSettings(), ilECSMappingUtils\getRoleMappingInfo(), getServer(), ilECSCourseMemberAssignment\lookupAssignment(), lookupRole(), and ilECSCourseMemberAssignment\lookupUserIds().
Referenced by doUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 20 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
|
private |
Definition at line 25 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
Referenced by getMappingSettings().
|
private |
Definition at line 23 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
Referenced by doUpdate(), and getMid().
|
private |
Definition at line 22 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
Referenced by __construct(), checkAllocationActivation(), createMember(), getServer(), and readCourseMember().