ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
ECS Event Handler. More...
Static Public Member Functions | |
static | handleEvent ($a_component, $a_event, $a_parameter) |
Handle an event in a listener. More... | |
static | handleEvent ($a_component, $a_event, $a_parameter) |
Handle an event in a listener. More... | |
Static Protected Member Functions | |
static | initServer ($a_usr_id) |
Init server settings. More... | |
static | _sendNotification (ilECSSetting $server, ilObjUser $user_obj) |
send notification about new user accounts More... | |
static | handleMembership (ilObjUser $user) |
Assign missing course/groups to new user accounts. More... | |
static | extendAccount (ilECSSetting $settings, ilObjUser $user) |
Extend account. More... | |
static | updateEnrolmentStatus ($a_obj_id, ilObjUser $user, $a_status) |
Update enrolment status. More... | |
ECS Event Handler.
@ilCtrl_Calls
Definition at line 35 of file class.ilECSAppEventListener.php.
|
staticprotected |
send notification about new user accounts
@access protected
Definition at line 194 of file class.ilECSAppEventListener.php.
References $lang, $server, ilMail\_getAutoGeneratedMessageString(), ilLanguageFactory\_getLanguage(), and ilObject\getId().
Referenced by handleEvent().
|
staticprotected |
Extend account.
ilECSSetting | $server | |
ilObjUser | $user |
Definition at line 281 of file class.ilECSAppEventListener.php.
References $end, $GLOBALS, $user, ilECSSetting\getDuration(), IL_CAL_MONTH, and IL_CAL_UNIX.
Referenced by handleEvent().
|
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 44 of file class.ilECSAppEventListener.php.
References $DIC, $GLOBALS, $ilLog, $log, $user, ilObjUser\_lookupAuthMode(), _sendNotification(), extendAccount(), ilObjectFactory\getInstanceByObjId(), handleMembership(), initServer(), ilECSEnrolmentStatus\STATUS_ACTIVE, ilECSEnrolmentStatus\STATUS_PENDING, ilECSEnrolmentStatus\STATUS_UNSUBSCRIBED, and updateEnrolmentStatus().
|
staticprotected |
Assign missing course/groups to new user accounts.
ilObjUser | $user |
Definition at line 234 of file class.ilECSAppEventListener.php.
References $GLOBALS, $log, $user, ilObject\_getAllReferences(), ilObject\_lookupType(), ilCourseConstants\CRS_MEMBER, ilLogLevel\ERROR, ilParticipants\getInstance(), ilECSNodeMappingSettings\getInstanceByServerMid(), IL_GRP_MEMBER, and ilECSCourseMemberAssignment\lookupMissingAssignmentsOfUser().
Referenced by handleEvent().
|
staticprotected |
Init server settings.
type | $a_usr_id |
Definition at line 178 of file class.ilECSAppEventListener.php.
References ilECSSetting\getInstanceByServerId(), and ilECSImport\lookupServerId().
Referenced by handleEvent().
|
staticprotected |
Update enrolment status.
type | $a_obj_id | |
ilObjUser | $user | |
type | $a_status |
Definition at line 301 of file class.ilECSAppEventListener.php.
References $GLOBALS, $user, ilObject\_lookupType(), ilECSRemoteUser\factory(), ilECSSetting\getInstanceByServerId(), and ilECSEnrolmentStatus\ID_UID.
Referenced by handleEvent().