PHP Class QueryNotificationManager, pkp-lib

Inheritance: extends NotificationManagerDelegate
Datei anzeigen Open project: pkp/pkp-lib

Public Methods

Method Description
__construct ( $notificationType ) Constructor.
getNotificationContents ( $request, $notification )
getNotificationMessage ( $request, $notification )
getNotificationTitle ( $notification )
getNotificationUrl ( $request, $notification )
getStyleClass ( $notification )

Protected Methods

Method Description
getQuerySubmission ( $query ) : Submission Get the submission for a query.

Method Details

__construct() public method

Constructor.
public __construct ( $notificationType )
$notificationType int NOTIFICATION_TYPE_...

getNotificationContents() public method

public getNotificationContents ( $request, $notification )

getNotificationMessage() public method

public getNotificationMessage ( $request, $notification )

getNotificationTitle() public method

public getNotificationTitle ( $notification )

getNotificationUrl() public method

public getNotificationUrl ( $request, $notification )

getQuerySubmission() protected method

Get the submission for a query.
protected getQuerySubmission ( $query ) : Submission
$query Query
return Submission

getStyleClass() public method

public getStyleClass ( $notification )