|
ILIAS
release_8 Revision v8.24
|
ECS Event Handler. More...
Inheritance diagram for ilECSAppEventListener:
Collaboration diagram for ilECSAppEventListener:Public Member Functions | |
| __construct (\ilLogger $logger, ilSetting $settings, ilRbacAdmin $rbac_admin) | |
Static Public Member Functions | |
| static | handleEvent (string $a_component, string $a_event, array $a_parameter) |
| Handle an event in a listener. More... | |
| static | handleEvent (string $a_component, string $a_event, array $a_parameter) |
| Handle an event in a listener. More... | |
Protected Member Functions | |
| handleNewAccountCreation (string $username) | |
Private Member Functions | |
| initServer (int $a_usr_id) | |
| Init server settings. More... | |
| sendNotification (ilECSSetting $server, ilObjUser $user_obj) | |
| send notification about new user accounts More... | |
| handleMembership (ilObjUser $user) | |
| Assign missing course/groups to new user accounts. More... | |
| extendAccount (ilECSSetting $settings, ilObjUser $user) | |
| Extend account. More... | |
| updateEnrolmentStatus (int $a_obj_id, ilObjUser $user, string $a_status) | |
| Update enrolment status. More... | |
Private Attributes | |
| ilLogger | $logger |
| ilSetting | $settings |
| ilRbacAdmin | $rbac_admin |
ECS Event Handler.
Definition at line 24 of file class.ilECSAppEventListener.php.
| ilECSAppEventListener::__construct | ( | \ilLogger | $logger, |
| ilSetting | $settings, | ||
| ilRbacAdmin | $rbac_admin | ||
| ) |
Definition at line 30 of file class.ilECSAppEventListener.php.
References $logger, $rbac_admin, $settings, ILIAS\Repository\logger(), and ILIAS\Repository\settings().
Here is the call graph for this function:
|
private |
Extend account.
Definition at line 313 of file class.ilECSAppEventListener.php.
References $settings, ilObjUser\getTimeLimitUntil(), IL_CAL_MONTH, IL_CAL_UNIX, ILIAS\Repository\logger(), ilObjUser\setTimeLimitUntil(), and ilObjUser\update().
Here is the call graph for this function:
|
static |
Handle an event in a listener.
| string | $a_component | component, e.g. "Modules/Forum" or "Services/User" |
| string | $a_event | event e.g. "createUser", "updateUser", "deleteUser", ... |
| array | $a_parameter | parameter array (assoc), array("name" => ..., "phone_office" => ...) |
Implements ilAppEventListener.
Definition at line 46 of file class.ilECSAppEventListener.php.
References $DIC.
|
private |
Assign missing course/groups to new user accounts.
Definition at line 271 of file class.ilECSAppEventListener.php.
References Vendor\Package\$e, $ref_id, ilObject\_getAllReferences(), ilObject\_lookupType(), ilCourseConstants\CRS_MEMBER, ilLogLevel\ERROR, ilObjUser\getAuthMode(), ilObjUser\getExternalAccount(), ilObject\getId(), ilParticipants\getInstance(), ilECSNodeMappingSettings\getInstanceByServerMid(), ilParticipants\IL_GRP_MEMBER, ILIAS\Repository\logger(), and ilECSCourseMemberAssignment\lookupMissingAssignmentsOfUser().
Here is the call graph for this function:
|
protected |
Definition at line 230 of file class.ilECSAppEventListener.php.
References $server, ilObjUser\_loginExists(), ilObjUser\_lookupExternalAccount(), ilECSParticipantSetting\getInstance(), ilECSSetting\getInstanceByServerId(), ilECSParticipantSetting\INCOMING_AUTH_TYPE_LOGIN_PAGE, ilECSParticipantSetting\INCOMING_AUTH_TYPE_SHIBBOLETH, and ILIAS\Repository\logger().
Here is the call graph for this function:
|
private |
Init server settings.
Definition at line 190 of file class.ilECSAppEventListener.php.
References ilECSImportManager\getInstance(), and ilECSSetting\getInstanceByServerId().
Here is the call graph for this function:
|
private |
send notification about new user accounts
Definition at line 200 of file class.ilECSAppEventListener.php.
References $lang, $server, ilMail\_getAutoGeneratedMessageString(), ilLanguageFactory\_getLanguage(), ANONYMOUS_USER_ID, and ilObject\getId().
Here is the call graph for this function:
|
private |
Update enrolment status.
Definition at line 329 of file class.ilECSAppEventListener.php.
References Vendor\Package\$e, ilObject\_lookupType(), ilObject\getId(), ilECSSetting\getInstanceByServerId(), ilECSEnrolmentStatus\ID_UID, ILIAS\Repository\logger(), and ILIAS\Repository\settings().
Here is the call graph for this function:
|
private |
Definition at line 26 of file class.ilECSAppEventListener.php.
Referenced by __construct().
|
private |
Definition at line 28 of file class.ilECSAppEventListener.php.
Referenced by __construct().
|
private |
Definition at line 27 of file class.ilECSAppEventListener.php.
Referenced by __construct(), and extendAccount().