ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilTermsOfServiceAppEventListener. More...
Public Member Functions | |
__construct (\ilTermsOfServiceHelper $helper) | |
ilTermsOfServiceAppEventListener constructor. More... | |
withComponent (string $component) | |
withEvent (string $event) | |
withParameters (array $parameters) | |
handle () | |
Static Public Member Functions | ||||||||||
static | handleEvent ($a_component, $a_event, $a_parameter) | |||||||||
Handle an event in a listener.
| ||||||||||
Protected Member Functions | |
isUserDeletionEvent () | |
Protected Attributes | |
$helper | |
$component = '' | |
$event = '' | |
$parameters = [] | |
Class ilTermsOfServiceAppEventListener.
Definition at line 8 of file class.ilTermsOfServiceAppEventListener.php.
ilTermsOfServiceAppEventListener::__construct | ( | \ilTermsOfServiceHelper | $helper | ) |
ilTermsOfServiceAppEventListener constructor.
\ilTermsOfServiceHelper | $helper |
Definition at line 26 of file class.ilTermsOfServiceAppEventListener.php.
References $helper.
ilTermsOfServiceAppEventListener::handle | ( | ) |
Definition at line 84 of file class.ilTermsOfServiceAppEventListener.php.
References isUserDeletionEvent().
|
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 94 of file class.ilTermsOfServiceAppEventListener.php.
Referenced by ilTermsOfServiceAppEventListenerTest\testStaticEventListeningWorksAsExpected().
|
protected |
Definition at line 73 of file class.ilTermsOfServiceAppEventListener.php.
Referenced by handle().
ilTermsOfServiceAppEventListener::withComponent | ( | string | $component | ) |
string | $component |
Definition at line 35 of file class.ilTermsOfServiceAppEventListener.php.
References $component.
ilTermsOfServiceAppEventListener::withEvent | ( | string | $event | ) |
string | $event |
Definition at line 48 of file class.ilTermsOfServiceAppEventListener.php.
References $event.
ilTermsOfServiceAppEventListener::withParameters | ( | array | $parameters | ) |
array | $parameters |
Definition at line 61 of file class.ilTermsOfServiceAppEventListener.php.
References $parameters.
|
protected |
Definition at line 14 of file class.ilTermsOfServiceAppEventListener.php.
Referenced by withComponent().
|
protected |
Definition at line 17 of file class.ilTermsOfServiceAppEventListener.php.
Referenced by withEvent().
|
protected |
Definition at line 11 of file class.ilTermsOfServiceAppEventListener.php.
Referenced by __construct().
|
protected |
Definition at line 20 of file class.ilTermsOfServiceAppEventListener.php.
Referenced by withParameters().