|
ILIAS
release_4-3 Revision
|
Description of class. More...
Inheritance diagram for ilECSCmsCourseMemberCommandQueueHandler:
Collaboration diagram for ilECSCmsCourseMemberCommandQueueHandler:Public Member Functions | |
| __construct (ilECSSetting $server) | |
| Constructor. | |
| getServer () | |
| Get server. | |
| getMid () | |
| get current mid | |
| getMappingSettings () | |
| Get mapping settings. | |
| checkAllocationActivation (ilECSSetting $server, $a_content_id) | |
| Check if course allocation is activated for one recipient of the. | |
| handleCreate (ilECSSetting $server, $a_content_id) | |
| Handle create. | |
| handleDelete (ilECSSetting $server, $a_content_id) | |
| Handle delete. | |
| handleUpdate (ilECSSetting $server, $a_content_id) | |
| Handle update. | |
Protected Member Functions | |
| doUpdate ($a_content_id, $course_member) | |
| Perform update. | |
| readAssignments ($course, $course_member) | |
| Read assignments for all parallel groups. | |
| refreshAssignmentStatus ($course_member, $obj_id, $sub_id, $assigned) | |
| Refresh status of course member assignments. | |
| lookupRole ($role_value) | |
Private Member Functions | |
| createMember ($a_person_id) | |
| Create user account. | |
| readCourseMember (ilECSSetting $server, $a_content_id) | |
| Read course from ecs. | |
| readCourse ($course_member) | |
| Read course from ecs. | |
Private Attributes | |
| $server = null | |
| $mid = 0 | |
| $mapping = null | |
Description of class.
Definition at line 15 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
| ilECSCmsCourseMemberCommandQueueHandler::__construct | ( | ilECSSetting | $server | ) |
Constructor.
Definition at line 25 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $server.
| 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 63 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $GLOBALS, 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 423 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $query, $server, ilLDAPServer\_getFirstActiveServer(), ilLDAPServer\getInstanceByServerId(), 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 168 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $GLOBALS, $mid, getMid(), getServer(), 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 53 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $mapping.
Referenced by checkAllocationActivation(), and lookupRole().
Here is the caller graph for this function:| ilECSCmsCourseMemberCommandQueueHandler::getMid | ( | ) |
get current mid
Definition at line 43 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 34 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 101 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $GLOBALS, 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 131 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 142 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $GLOBALS, checkAllocationActivation(), doUpdate(), and readCourseMember().
Here is the call graph for this function:
|
protected |
Definition at line 398 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $GLOBALS, and getMappingSettings().
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 216 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $GLOBALS, ilECSMappingUtils\PARALLEL_ALL_COURSES, ilECSMappingUtils\PARALLEL_GROUPS_IN_COURSE, ilECSMappingUtils\PARALLEL_ONE_COURSE, and ilECSMappingUtils\PARALLEL_UNDEFINED.
Referenced by doUpdate().
Here is the caller graph for this function:
|
private |
Read course from ecs.
Definition at line 479 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References 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 457 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
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 281 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
References $GLOBALS, $usr_id, ilObjUser\_checkExternalAuthAccount(), ilGroupParticipants\_getInstanceByObjId(), ilCourseParticipants\_getInstanceByObjId(), ilObjUser\_lookupId(), ilObject\_lookupTitle(), ilObject\_lookupType(), createMember(), ilECSMappingUtils\getRoleMappingInfo(), getServer(), ilECSCourseMemberAssignment\lookupAssignment(), ilECSSetting\lookupAuthMode(), lookupRole(), and ilECSCourseMemberAssignment\lookupUserIds().
Referenced by doUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 20 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
Referenced by getMappingSettings().
|
private |
Definition at line 18 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
Referenced by doUpdate(), and getMid().
|
private |
Definition at line 17 of file class.ilECSCmsCourseMemberCommandQueueHandler.php.
Referenced by __construct(), createMember(), and getServer().