Public Member Functions

InformationCenterNotifyForm Class Reference

Form to notify a user regarding a file. More...

List of all members.

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 ()

Detailed Description

Form to notify a user regarding a file.

Definition at line 19 of file InformationCenterNotifyForm.inc.php.


Member Function Documentation

InformationCenterNotifyForm._createNotifications ( &$  request,
monograph,
user,
template 
)

Internal method to create the necessary notifications, with user validation.

Parameters:
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.

Parameters:
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.

See also:
Form.execute()

Definition at line 108 of file InformationCenterNotifyForm.inc.php.

InformationCenterNotifyForm.fetch ( &$  request  ) 

Fetch the form.

See also:
Form.fetch()

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

See also:
ListbuilderHandler.insertEntry

Definition at line 116 of file InformationCenterNotifyForm.inc.php.

References _createNotifications(), _removeUploadTaskNotification(), and SubmissionsListGridCellProvider.getPageAndOperationByUserRoles().

InformationCenterNotifyForm.readInputData (  ) 

Assign form data to user-submitted data.

See also:
Form.readInputData()

Definition at line 97 of file InformationCenterNotifyForm.inc.php.


The documentation for this class was generated from the following file: