ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Public Member Functions | |
__construct (private readonly string $provider, private ?NotificationIdentification $identification=null) | |
getType () | |
setAutoDisable (bool $value) | |
hasDisableAfterDeliverySet () | |
setLinks (array $links) | |
getLinks () | |
setIconPath (string $path) | |
getIconPath () | |
setTitleVar (string $name, array $parameters=[], string $language_module='notification') | |
getTitleVar () | |
setShortDescriptionVar (string $name, array $parameters=[], string $language_module='notification') | |
getShortDescriptionVar () | |
setLongDescriptionVar (string $name, array $parameters=[], string $language_module='notification') | |
getLongDescriptionVar () | |
getLanguageParameters () | |
setValidForSeconds (int $seconds) | |
getValidForSeconds () | |
getVisibleForSeconds () | |
setVisibleForSeconds (int $visibleForSeconds) | |
notifyByUsers (array $recipients, bool $processAsync=false) | |
notifyByListeners (int $ref_id, bool $processAsync=false) | |
notifyByRoles (array $roles, bool $processAsync=false) | |
getUserInstance (ilObjUser $user, array $languageVars, string $defaultLanguage) | |
setHandlerParam (string $name, string $value) | |
getHandlerParams () | |
unsetHandlerParam (string $name) | |
setIdentification (NotificationIdentification $identification) | |
getIdentification () | |
Data Fields | |
final const | TTL_LONG = 1800 |
final const | TTL_SHORT = 120 |
final const | DEFAULT_TTS = 5 |
Protected Member Functions | |
beforeSendToUsers () | |
afterSendToUsers () | |
beforeSendToListeners () | |
afterSendToListeners () | |
Protected Attributes | |
int | $visibleForSeconds = 0 |
Private Attributes | |
array | $links = [] |
ilNotificationParameter | $title |
string | $iconPath |
ilNotificationParameter | $short_description |
ilNotificationParameter | $long_description |
bool | $disableAfterDelivery = false |
int | $validForSeconds = 0 |
array | $handlerParams = [] |
Definition at line 31 of file ilNotificationConfig.php.
ILIAS\Notifications\Model\ilNotificationConfig::__construct | ( | private readonly string | $provider, |
private ?NotificationIdentification | $identification = null |
||
) |
Definition at line 49 of file ilNotificationConfig.php.
References null.
|
protected |
Definition at line 196 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\notifyByListeners().
|
protected |
Definition at line 188 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\notifyByUsers().
|
protected |
Definition at line 192 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\notifyByListeners().
|
protected |
Definition at line 184 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\notifyByUsers().
ILIAS\Notifications\Model\ilNotificationConfig::getHandlerParams | ( | ) |
Definition at line 303 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\$handlerParams.
ILIAS\Notifications\Model\ilNotificationConfig::getIconPath | ( | ) |
Definition at line 93 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\$iconPath.
ILIAS\Notifications\Model\ilNotificationConfig::getIdentification | ( | ) |
Definition at line 318 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\ilNotificationSystem\toUsers().
ILIAS\Notifications\Model\ilNotificationConfig::getLanguageParameters | ( | ) |
Definition at line 146 of file ilNotificationConfig.php.
References $id, ILIAS\Notifications\Model\ilNotificationConfig\$long_description, $params, ILIAS\Notifications\Model\ilNotificationConfig\$short_description, and ILIAS\Notifications\Model\ilNotificationConfig\$title.
Referenced by ILIAS\Notifications\ilNotificationSystem\toUsers().
ILIAS\Notifications\Model\ilNotificationConfig::getLinks | ( | ) |
Definition at line 83 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\$links.
ILIAS\Notifications\Model\ilNotificationConfig::getLongDescriptionVar | ( | ) |
Definition at line 138 of file ilNotificationConfig.php.
ILIAS\Notifications\Model\ilNotificationConfig::getShortDescriptionVar | ( | ) |
Definition at line 122 of file ilNotificationConfig.php.
ILIAS\Notifications\Model\ilNotificationConfig::getTitleVar | ( | ) |
Definition at line 106 of file ilNotificationConfig.php.
ILIAS\Notifications\Model\ilNotificationConfig::getType | ( | ) |
Definition at line 57 of file ilNotificationConfig.php.
References $provider.
Referenced by ILIAS\Notifications\ilNotificationDatabaseHandler\enqueueByListener(), ILIAS\Notifications\ilNotificationSystem\toListeners(), and ILIAS\Notifications\ilNotificationSystem\toUsers().
ILIAS\Notifications\Model\ilNotificationConfig::getUserInstance | ( | ilObjUser | $user, |
array | $languageVars, | ||
string | $defaultLanguage | ||
) |
array<string,stdClass> | $languageVars |
Definition at line 228 of file ilNotificationConfig.php.
References $defaultLanguage, ILIAS\Notifications\Model\ilNotificationConfig\$iconPath, ILIAS\Notifications\Model\ilNotificationConfig\$title, ilObjUser\getLanguage(), and ILIAS\Notifications\Model\ilNotificationParameter\getName().
Referenced by ILIAS\Notifications\ilNotificationSystem\toUsers().
ILIAS\Notifications\Model\ilNotificationConfig::getValidForSeconds | ( | ) |
Definition at line 166 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\$validForSeconds.
Referenced by ILIAS\Notifications\ilNotificationDatabaseHandler\enqueueByListener(), and ILIAS\Notifications\ilNotificationDatabaseHandler\enqueueByUsers().
ILIAS\Notifications\Model\ilNotificationConfig::getVisibleForSeconds | ( | ) |
Definition at line 171 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\$visibleForSeconds.
Referenced by ILIAS\Notifications\ilNotificationDatabaseHandler\enqueueByListener(), and ILIAS\Notifications\ilNotificationDatabaseHandler\enqueueByUsers().
ILIAS\Notifications\Model\ilNotificationConfig::hasDisableAfterDeliverySet | ( | ) |
Definition at line 67 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\$disableAfterDelivery.
Referenced by ILIAS\Notifications\ilNotificationSystem\toListeners().
|
final |
Definition at line 210 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\afterSendToListeners(), ILIAS\Notifications\Model\ilNotificationConfig\beforeSendToListeners(), and ILIAS\Notifications\ilNotificationSystem\sendNotificationToListeners().
|
final |
list<int> | $roles |
Definition at line 220 of file ilNotificationConfig.php.
References ILIAS\Notifications\ilNotificationSystem\sendNotificationToRoles().
|
final |
list<int> | $recipients |
Definition at line 203 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\afterSendToUsers(), ILIAS\Notifications\Model\ilNotificationConfig\beforeSendToUsers(), and ILIAS\Notifications\ilNotificationSystem\sendNotificationToUsers().
ILIAS\Notifications\Model\ilNotificationConfig::setAutoDisable | ( | bool | $value | ) |
Definition at line 62 of file ilNotificationConfig.php.
ILIAS\Notifications\Model\ilNotificationConfig::setHandlerParam | ( | string | $name, |
string | $value | ||
) |
Definition at line 288 of file ilNotificationConfig.php.
ILIAS\Notifications\Model\ilNotificationConfig::setIconPath | ( | string | $path | ) |
Definition at line 88 of file ilNotificationConfig.php.
References $path.
ILIAS\Notifications\Model\ilNotificationConfig::setIdentification | ( | NotificationIdentification | $identification | ) |
Definition at line 313 of file ilNotificationConfig.php.
ILIAS\Notifications\Model\ilNotificationConfig::setLinks | ( | array | $links | ) |
list<ilNotificationLink> | $links |
Definition at line 75 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\$links.
ILIAS\Notifications\Model\ilNotificationConfig::setLongDescriptionVar | ( | string | $name, |
array | $parameters = [] , |
||
string | $language_module = 'notification' |
||
) |
array<string,string> | $parameters |
Definition at line 130 of file ilNotificationConfig.php.
ILIAS\Notifications\Model\ilNotificationConfig::setShortDescriptionVar | ( | string | $name, |
array | $parameters = [] , |
||
string | $language_module = 'notification' |
||
) |
array<string,string> | $parameters |
Definition at line 114 of file ilNotificationConfig.php.
ILIAS\Notifications\Model\ilNotificationConfig::setTitleVar | ( | string | $name, |
array | $parameters = [] , |
||
string | $language_module = 'notification' |
||
) |
array<string,string> | $parameters |
Definition at line 101 of file ilNotificationConfig.php.
ILIAS\Notifications\Model\ilNotificationConfig::setValidForSeconds | ( | int | $seconds | ) |
Definition at line 161 of file ilNotificationConfig.php.
ILIAS\Notifications\Model\ilNotificationConfig::setVisibleForSeconds | ( | int | $visibleForSeconds | ) |
See the GS Scope Toast for more information.
Definition at line 179 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\$visibleForSeconds.
ILIAS\Notifications\Model\ilNotificationConfig::unsetHandlerParam | ( | string | $name | ) |
Definition at line 308 of file ilNotificationConfig.php.
|
private |
Definition at line 43 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\hasDisableAfterDeliverySet().
|
private |
Definition at line 47 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\getHandlerParams().
|
private |
Definition at line 40 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\getIconPath(), and ILIAS\Notifications\Model\ilNotificationConfig\getUserInstance().
|
private |
Definition at line 38 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\getLinks(), and ILIAS\Notifications\Model\ilNotificationConfig\setLinks().
|
private |
Definition at line 42 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\getLanguageParameters().
|
private |
Definition at line 41 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\getLanguageParameters().
|
private |
Definition at line 39 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\getLanguageParameters(), and ILIAS\Notifications\Model\ilNotificationConfig\getUserInstance().
|
private |
Definition at line 44 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\getValidForSeconds().
|
protected |
Definition at line 45 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\getVisibleForSeconds(), and ILIAS\Notifications\Model\ilNotificationConfig\setVisibleForSeconds().
final const ILIAS\Notifications\Model\ilNotificationConfig::DEFAULT_TTS = 5 |
Definition at line 35 of file ilNotificationConfig.php.
final const ILIAS\Notifications\Model\ilNotificationConfig::TTL_LONG = 1800 |
Definition at line 33 of file ilNotificationConfig.php.
final const ILIAS\Notifications\Model\ilNotificationConfig::TTL_SHORT = 120 |
Definition at line 34 of file ilNotificationConfig.php.