|
ILIAS
release_8 Revision v8.24
|
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... | |
| 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... | |
Public Member Functions inherited from ilECSCommandQueueHandler | |
| handleCreate (ilECSSetting $server, int $a_content_id) | |
| Handle create event. More... | |
| handleUpdate (ilECSSetting $server, int $a_content_id) | |
| Handle update. More... | |
| handleDelete (ilECSSetting $server, int $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 (object $course_member, int $obj_id, ?string $sub_id, $assigned) | |
| Refresh status of course member assignments. More... | |
| lookupRole (string $role_value, $a_obj_type) | |
| Lookup local role by assignment. More... | |
Protected Attributes | |
| ilLogger | $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 | |
| ilECSSetting | $server |
| int | $mid = 0 |
| ilECSnodeMappingSettings | $mapping = null |
Synchronize member assignments.
Definition at line 24 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
| ilECSCmsCourseMemberCommandQueueHandler::__construct | ( | ilECSSetting | $server | ) |
Constructor.
Definition at line 36 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
| ilECSCmsCourseMemberCommandQueueHandler::checkAllocationActivation | ( | ilECSSetting | $server, |
| $a_content_id | |||
| ) |
Check if course allocation is activated for one recipient of the.
Definition at line 62 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References ILIAS\LTI\ToolProvider\$details, Vendor\Package\$e, $server, ilECSParticipantSetting\getInstance(), ilECSNodeMappingSettings\getInstanceByServerMid(), 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.
Definition at line 408 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $query, $server, $xml, ilAuthUtils\_getAuthModeName(), ilLDAPServer\_getFirstActiveServer(), ilAuthUtils\AUTH_SHIBBOLETH, ilUserCreationContext\CONTEXT_LDAP, ilUserCreationContext\getInstance(), ilLDAPServer\getInstanceByServerId(), and ilLDAPQuery\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.
Definition at line 141 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $mid, ilLogLevel\DEBUG, ilECSImportManager\getInstance(), getMid(), getServer(), if, ILIAS\Repository\int(), 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::getMid | ( | ) |
get current mid
Definition at line 54 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 46 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.
Definition at line 91 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.
Definition at line 111 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
| ilECSCmsCourseMemberCommandQueueHandler::handleUpdate | ( | ilECSSetting | $server, |
| $a_content_id | |||
| ) |
Handle update.
Definition at line 120 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.
Definition at line 369 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $name, ilParticipants\IL_CRS_ADMIN, ilParticipants\IL_CRS_MEMBER, ilParticipants\IL_CRS_TUTOR, ilParticipants\IL_GRP_ADMIN, and ilParticipants\IL_GRP_MEMBER.
Referenced by refreshAssignmentStatus().
Here is the caller graph for this function:
|
protected |
Read assignments for all parallel groups.
Definition at line 191 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References if, ILIAS\Repository\int(), ilECSMappingUtils\PARALLEL_ALL_COURSES, ilECSMappingUtils\PARALLEL_GROUPS_IN_COURSE, and ilECSMappingUtils\PARALLEL_ONE_COURSE.
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 460 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References ilECSImportManager\getInstance(), getMid(), and getServer().
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 452 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $server.
Referenced by handleCreate(), and handleUpdate().
Here is the caller graph for this function:
|
protected |
Refresh status of course member assignments.
Definition at line 251 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $type, ilObjUser\_checkExternalAuthAccount(), ilCourseParticipants\_getInstanceByObjId(), ilGroupParticipants\_getInstanceByObjId(), ilObjUser\_lookupId(), ilObject\_lookupTitle(), ilObject\_lookupType(), createMember(), ilECSMappingUtils\getRoleMappingInfo(), getServer(), ILIAS\Repository\int(), ilECSCourseMemberAssignment\lookupAssignment(), lookupRole(), ilECSCourseMemberAssignment\lookupUserIds(), and ilCourseMembershipMailNotification\TYPE_ADMISSION_MEMBER.
Referenced by doUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 26 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
|
private |
Definition at line 31 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
|
private |
Definition at line 29 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
Referenced by doUpdate(), and getMid().
|
private |
Definition at line 28 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
Referenced by __construct(), checkAllocationActivation(), createMember(), getServer(), and readCourseMember().