Form to notify a user regarding a file. More...
Public Member Functions | |
| _createNotifications (&$request, $monograph, $user, $template) | |
| _removeUploadTaskNotification (&$monograph, $task, &$request) | |
| deleteEntry (&$request, $rowId) | |
| execute (&$request) | |
| fetch (&$request) | |
| InformationCenterNotifyForm ($itemId, $itemType) | |
| insertEntry (&$request, $newRowId) | |
| readInputData () | |
Form to notify a user regarding a file.
Definition at line 19 of file InformationCenterNotifyForm.inc.php.
| InformationCenterNotifyForm._createNotifications | ( | &$ | request, | |
| $ | monograph, | |||
| $ | user, | |||
| $ | template | |||
| ) |
Internal method to create the necessary notifications, with user validation.
| PKPRquest | $request | |
| Monograph | $monograph | |
| PKPUser | $user | |
| string | $template |
Definition at line 201 of file InformationCenterNotifyForm.inc.php.
Referenced by insertEntry().
| InformationCenterNotifyForm._removeUploadTaskNotification | ( | &$ | monograph, | |
| $ | task, | |||
| &$ | request | |||
| ) |
Private method to clear potential tasks that may have been assigned to certain users on certain stages. Right now, just LAYOUT uploads on the production stage.
| Monograph | $monograph | |
| int | $task | |
| PKRequest | $request |
Definition at line 260 of file InformationCenterNotifyForm.inc.php.
Referenced by insertEntry().
| InformationCenterNotifyForm.deleteEntry | ( | &$ | request, | |
| $ | rowId | |||
| ) |
Delete a signoff (It was throwing a warning when this was not specified. We just want client side delete.)
Definition at line 190 of file InformationCenterNotifyForm.inc.php.
| InformationCenterNotifyForm.execute | ( | &$ | request | ) |
Sends a a notification.
Definition at line 108 of file InformationCenterNotifyForm.inc.php.
| InformationCenterNotifyForm.fetch | ( | &$ | request | ) |
Fetch the form.
Definition at line 43 of file InformationCenterNotifyForm.inc.php.
| InformationCenterNotifyForm.InformationCenterNotifyForm | ( | $ | itemId, | |
| $ | itemType | |||
| ) |
Constructor.
Definition at line 29 of file InformationCenterNotifyForm.inc.php.
| InformationCenterNotifyForm.insertEntry | ( | &$ | request, | |
| $ | newRowId | |||
| ) |
Prepare an email for each user and send
Definition at line 116 of file InformationCenterNotifyForm.inc.php.
References _createNotifications(), _removeUploadTaskNotification(), and SubmissionsListGridCellProvider.getPageAndOperationByUserRoles().
| InformationCenterNotifyForm.readInputData | ( | ) |
Assign form data to user-submitted data.
Definition at line 97 of file InformationCenterNotifyForm.inc.php.
1.7.1