ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Public Member Functions | |
__construct (\ilDBInterface $db, \ilObjectDataCache $objectDataCache, \ilLogger $logger) | |
withComponent (string $component) | |
withEvent (string $event) | |
withParameters (array $parameters) | |
handle () | |
Static Public Member Functions | |
static | handleEvent (string $a_component, string $a_event, array $a_parameter) |
Handle an event in a listener. More... | |
Protected Attributes | |
ilDBInterface | $database |
ilObjectDataCache | $objectDataCache |
ilLogger | $logger |
string | $component = "" |
string | $event = "" |
array | $parameters = [] |
Private Member Functions | |
handleRegisterEvent () | |
handleEnteredEvent () | |
handleUnregisterEvent () | |
fetchRecipientParticipants () | |
sendMail (int $type) | |
Definition at line 24 of file class.ilSessionAppEventListener.php.
ilSessionAppEventListener::__construct | ( | \ilDBInterface | $db, |
\ilObjectDataCache | $objectDataCache, | ||
\ilLogger | $logger | ||
) |
Definition at line 33 of file class.ilSessionAppEventListener.php.
References $logger, $objectDataCache, ILIAS\Repository\logger(), and ILIAS\Repository\objectDataCache().
|
private |
Definition at line 134 of file class.ilSessionAppEventListener.php.
References $id, and ILIAS\UI\examples\Prompt\Standard\parameters().
Referenced by sendMail().
ilSessionAppEventListener::handle | ( | ) |
Definition at line 87 of file class.ilSessionAppEventListener.php.
References Vendor\Package\$e, ILIAS\Repository\event(), ilObjectFactory\getInstanceByObjId(), handleEnteredEvent(), handleRegisterEvent(), handleUnregisterEvent(), ILIAS\Repository\logger(), and ILIAS\UI\examples\Prompt\Standard\parameters().
|
private |
Definition at line 122 of file class.ilSessionAppEventListener.php.
References sendMail(), and ilSessionMembershipMailNotification\TYPE_ENTER_NOTIFICATION.
Referenced by handle().
|
static |
Handle an event in a listener.
string | $a_component | component, e.g. "components/ILIAS/Forum" or "components/ILIAS/User" |
string | $a_event | event e.g. "createUser", "updateUser", "deleteUser", ... |
array<string,mixed> | $a_parameter parameter array (assoc), array("name" => ..., "phone_office" => ...) |
Implements ilAppEventListener.
Definition at line 70 of file class.ilSessionAppEventListener.php.
References $DIC.
|
private |
Definition at line 116 of file class.ilSessionAppEventListener.php.
References sendMail(), and ilSessionMembershipMailNotification\TYPE_REGISTER_NOTIFICATION.
Referenced by handle().
|
private |
Definition at line 128 of file class.ilSessionAppEventListener.php.
References sendMail(), and ilSessionMembershipMailNotification\TYPE_UNREGISTER_NOTIFICATION.
Referenced by handle().
|
private |
Definition at line 149 of file class.ilSessionAppEventListener.php.
References fetchRecipientParticipants(), and ILIAS\UI\examples\Prompt\Standard\parameters().
Referenced by handleEnteredEvent(), handleRegisterEvent(), and handleUnregisterEvent().
ilSessionAppEventListener::withComponent | ( | string | $component | ) |
Definition at line 43 of file class.ilSessionAppEventListener.php.
References $component.
ilSessionAppEventListener::withEvent | ( | string | $event | ) |
ilSessionAppEventListener::withParameters | ( | array | $parameters | ) |
Definition at line 61 of file class.ilSessionAppEventListener.php.
References $parameters.
|
protected |
Definition at line 29 of file class.ilSessionAppEventListener.php.
Referenced by withComponent().
|
protected |
Definition at line 26 of file class.ilSessionAppEventListener.php.
|
protected |
Definition at line 30 of file class.ilSessionAppEventListener.php.
Referenced by withEvent().
|
protected |
Definition at line 28 of file class.ilSessionAppEventListener.php.
Referenced by __construct().
|
protected |
Definition at line 27 of file class.ilSessionAppEventListener.php.
Referenced by __construct().
|
protected |
Definition at line 31 of file class.ilSessionAppEventListener.php.
Referenced by withParameters().