ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (string $provider, ?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, $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 | |
const | TTL_LONG = 1800 |
const | TTL_SHORT = 120 |
const | DEFAULT_TTS = 5 |
Protected Member Functions | |
beforeSendToUsers () | |
afterSendToUsers () | |
beforeSendToListeners () | |
afterSendToListeners () | |
Protected Attributes | |
int | $visibleForSeconds = 0 |
Private Attributes | |
string | $type |
array | $links = [] |
ilNotificationParameter | $title |
string | $iconPath |
ilNotificationParameter | $short_description |
ilNotificationParameter | $long_description |
bool | $disableAfterDelivery = false |
int | $validForSeconds = 0 |
array | $handlerParams = [] |
NotificationIdentification | $identification |
Definition at line 31 of file ilNotificationConfig.php.
ILIAS\Notifications\Model\ilNotificationConfig::__construct | ( | string | $provider, |
?NotificationIdentification | $identification = null |
||
) |
Definition at line 52 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\$identification, and $provider.
|
protected |
Definition at line 194 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\notifyByListeners().
|
protected |
Definition at line 186 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\notifyByUsers().
|
protected |
Definition at line 190 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\notifyByListeners().
|
protected |
Definition at line 182 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\notifyByUsers().
ILIAS\Notifications\Model\ilNotificationConfig::getHandlerParams | ( | ) |
Definition at line 295 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\$handlerParams.
ILIAS\Notifications\Model\ilNotificationConfig::getIconPath | ( | ) |
Definition at line 97 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\$iconPath.
ILIAS\Notifications\Model\ilNotificationConfig::getIdentification | ( | ) |
Definition at line 310 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\$identification.
ILIAS\Notifications\Model\ilNotificationConfig::getLanguageParameters | ( | ) |
Definition at line 144 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 87 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\$links.
ILIAS\Notifications\Model\ilNotificationConfig::getLongDescriptionVar | ( | ) |
Definition at line 136 of file ilNotificationConfig.php.
ILIAS\Notifications\Model\ilNotificationConfig::getShortDescriptionVar | ( | ) |
Definition at line 123 of file ilNotificationConfig.php.
ILIAS\Notifications\Model\ilNotificationConfig::getTitleVar | ( | ) |
Definition at line 110 of file ilNotificationConfig.php.
ILIAS\Notifications\Model\ilNotificationConfig::getType | ( | ) |
Definition at line 61 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\$type.
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 | ||
) |
Definition at line 223 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 164 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 169 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 71 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\$disableAfterDelivery.
Referenced by ILIAS\Notifications\ilNotificationSystem\toListeners().
|
final |
Definition at line 208 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\afterSendToListeners(), ILIAS\Notifications\Model\ilNotificationConfig\beforeSendToListeners(), and ILIAS\Notifications\ilNotificationSystem\sendNotificationToListeners().
|
final |
string[] | $roles |
Definition at line 218 of file ilNotificationConfig.php.
References ILIAS\Notifications\ilNotificationSystem\sendNotificationToRoles().
|
final |
int[] | $recipients |
Definition at line 201 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 66 of file ilNotificationConfig.php.
ILIAS\Notifications\Model\ilNotificationConfig::setHandlerParam | ( | string | $name, |
string | $value | ||
) |
ILIAS\Notifications\Model\ilNotificationConfig::setIconPath | ( | string | $path | ) |
Definition at line 92 of file ilNotificationConfig.php.
References $path.
ILIAS\Notifications\Model\ilNotificationConfig::setIdentification | ( | NotificationIdentification | $identification | ) |
Definition at line 305 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\$identification.
ILIAS\Notifications\Model\ilNotificationConfig::setLinks | ( | array | $links | ) |
ilNotificationLink[] | $links |
Definition at line 79 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\$links.
ILIAS\Notifications\Model\ilNotificationConfig::setLongDescriptionVar | ( | string | $name, |
array | $parameters = [] , |
||
string | $language_module = 'notification' |
||
) |
ILIAS\Notifications\Model\ilNotificationConfig::setShortDescriptionVar | ( | string | $name, |
array | $parameters = [] , |
||
string | $language_module = 'notification' |
||
) |
ILIAS\Notifications\Model\ilNotificationConfig::setTitleVar | ( | string | $name, |
array | $parameters = [] , |
||
string | $language_module = 'notification' |
||
) |
ILIAS\Notifications\Model\ilNotificationConfig::setValidForSeconds | ( | int | $seconds | ) |
Definition at line 159 of file ilNotificationConfig.php.
ILIAS\Notifications\Model\ilNotificationConfig::setVisibleForSeconds | ( | int | $visibleForSeconds | ) |
See the GS Scope Toast for more information.
Definition at line 177 of file ilNotificationConfig.php.
References ILIAS\Notifications\Model\ilNotificationConfig\$visibleForSeconds.
ILIAS\Notifications\Model\ilNotificationConfig::unsetHandlerParam | ( | string | $name | ) |
Definition at line 300 of file ilNotificationConfig.php.
|
private |
Definition at line 46 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\hasDisableAfterDeliverySet().
|
private |
Definition at line 49 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\getHandlerParams().
|
private |
Definition at line 43 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\getIconPath(), and ILIAS\Notifications\Model\ilNotificationConfig\getUserInstance().
|
private |
|
private |
Definition at line 41 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\getLinks(), and ILIAS\Notifications\Model\ilNotificationConfig\setLinks().
|
private |
Definition at line 45 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\getLanguageParameters().
|
private |
Definition at line 44 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\getLanguageParameters().
|
private |
Definition at line 42 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\getLanguageParameters(), and ILIAS\Notifications\Model\ilNotificationConfig\getUserInstance().
|
private |
Definition at line 37 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\getType().
|
private |
Definition at line 47 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\getValidForSeconds().
|
protected |
Definition at line 48 of file ilNotificationConfig.php.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\getVisibleForSeconds(), and ILIAS\Notifications\Model\ilNotificationConfig\setVisibleForSeconds().
const ILIAS\Notifications\Model\ilNotificationConfig::DEFAULT_TTS = 5 |
Definition at line 35 of file ilNotificationConfig.php.
const ILIAS\Notifications\Model\ilNotificationConfig::TTL_LONG = 1800 |
Definition at line 33 of file ilNotificationConfig.php.
const ILIAS\Notifications\Model\ilNotificationConfig::TTL_SHORT = 120 |
Definition at line 34 of file ilNotificationConfig.php.