|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| getName () | |
| sendNotification ($users, $journal, $issue) | |
| sendNotifications ($journal, $curDate) | |
Public Member Functions inherited from ScheduledTask | |
| __construct ($args=array()) | |
| addExecutionLogEntry ($message, $type=null) | |
| execute () | |
| getHelper () | |
| getProcessId () | |
Protected Member Functions | |
| executeActions () | |
Class to perform automated email notifications when an issue becomes open access.
Definition at line 18 of file OpenAccessNotification.inc.php.
|
protected |
Implement this method to execute the task actions.
Reimplemented from ScheduledTask.
Definition at line 109 of file OpenAccessNotification.inc.php.
References DAORegistry\getDAO(), and sendNotifications().
| OpenAccessNotification::getName | ( | ) |
Get the scheduled task name. Override to define a custom task name.
Reimplemented from ScheduledTask.
Definition at line 23 of file OpenAccessNotification.inc.php.
| OpenAccessNotification::sendNotification | ( | $users, | |
| $journal, | |||
| $issue | |||
| ) |
Send a notification for the given users, journal, and issue.
Definition at line 33 of file OpenAccessNotification.inc.php.
References PKPServices\get(), PKPApplication\get(), and PKPTemplateManager\getManager().
Referenced by sendNotifications().
| OpenAccessNotification::sendNotifications | ( | $journal, | |
| $curDate | |||
| ) |
Send notifications for the specified journal based on the specified date.
| $journal | Journal |
| $curDate | array |
Definition at line 80 of file OpenAccessNotification.inc.php.
References DAORegistry\getDAO(), and sendNotification().
Referenced by executeActions().