Property | Type | Description | |
---|---|---|---|
$privilegedRoles | * @var array Cache each user's most privileged role for each submission |
Method | Description | |
---|---|---|
__construct ( ) | Constructor. | |
_getArticleTitle ( $notification ) : string | Helper function to get an article title from a notification's associated object | |
getIconClass ( $notification ) : string | Return a CSS class containing the icon of this notification type | |
getNotificationMessage ( $request, $notification ) : string | Construct the contents for the notification based on its type and associated object | |
getNotificationUrl ( $request, $notification ) : string | Construct a URL for the notification based on its type and associated object | |
getStyleClass ( $notification ) : string | get notification style class |
Method | Description | |
---|---|---|
getMgrDelegate ( $notificationType, $assocType, $assocId ) |
public _getArticleTitle ( $notification ) : string | ||
$notification | ||
return | string |
public getIconClass ( $notification ) : string | ||
$notification | Notification | |
return | string |
protected getMgrDelegate ( $notificationType, $assocType, $assocId ) |
public getNotificationMessage ( $request, $notification ) : string | ||
$request | PKPRequest | |
$notification | Notification | |
return | string |
public getNotificationUrl ( $request, $notification ) : string | ||
$request | PKPRequest | |
$notification | Notification | |
return | string |
public getStyleClass ( $notification ) : string | ||
$notification | Notification | |
return | string |