PHP 클래스 NotificationManager, ojs

상속: extends PKPNotificationManager
파일 보기 프로젝트 열기: pkp/ojs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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 )

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( )

_getArticleTitle() 공개 메소드

Helper function to get an article title from a notification's associated object
public _getArticleTitle ( $notification ) : string
$notification
리턴 string

getIconClass() 공개 메소드

Return a CSS class containing the icon of this notification type
public getIconClass ( $notification ) : string
$notification Notification
리턴 string

getMgrDelegate() 보호된 메소드

protected getMgrDelegate ( $notificationType, $assocType, $assocId )

getNotificationMessage() 공개 메소드

Construct the contents for the notification based on its type and associated object
public getNotificationMessage ( $request, $notification ) : string
$request PKPRequest
$notification Notification
리턴 string

getNotificationUrl() 공개 메소드

Construct a URL for the notification based on its type and associated object
public getNotificationUrl ( $request, $notification ) : string
$request PKPRequest
$notification Notification
리턴 string

getStyleClass() 공개 메소드

get notification style class
public getStyleClass ( $notification ) : string
$notification Notification
리턴 string

프로퍼티 상세

$privilegedRoles 공개적으로 프로퍼티

* @var array Cache each user's most privileged role for each submission
public $privilegedRoles