프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$privilegedRoles | * @var array Cache each user's most privileged role for each submission |
메소드 | 설명 | |
---|---|---|
__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 |
메소드 | 설명 | |
---|---|---|
getMgrDelegate ( $notificationType, $assocType, $assocId ) |
public _getArticleTitle ( $notification ) : string | ||
$notification | ||
리턴 | string |
public getIconClass ( $notification ) : string | ||
$notification | Notification | |
리턴 | string |
public getNotificationMessage ( $request, $notification ) : string | ||
$request | PKPRequest | |
$notification | Notification | |
리턴 | string |
public getNotificationUrl ( $request, $notification ) : string | ||
$request | PKPRequest | |
$notification | Notification | |
리턴 | string |
public getStyleClass ( $notification ) : string | ||
$notification | Notification | |
리턴 | string |