Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
AddParticipantForm Class Reference
Inheritance diagram for AddParticipantForm:
StageParticipantNotifyForm

Public Member Functions

 AddParticipantForm ($submission, $stageId, &$userGroups)
 
 execute ($request)
 
 fetch ($request)
 
 getStageId ()
 
getSubmission ()
 
 getUserGroups ()
 
 includeNotifyUsersListbuilder ()
 
 readInputData ()
 
 validate ()
 
- Public Member Functions inherited from StageParticipantNotifyForm
 StageParticipantNotifyForm ($itemId, $itemType, $template=null)
 

Public Attributes

 $_stageId
 
 $_submission
 
 $_userGroups
 

Additional Inherited Members

- Protected Member Functions inherited from StageParticipantNotifyForm
 _getMailTemplate ($article, $templateKey, $includeSignature=true)
 
 _getStageTemplates ()
 

Detailed Description

Form for adding a stage participant.

Definition at line 18 of file AddParticipantForm.inc.php.

Member Function Documentation

AddParticipantForm::AddParticipantForm (   $submission,
  $stageId,
$userGroups 
)

Constructor.

Parameters
$submissionSubmission
$stageIdint STAGE_ID_...
$userGroupsarray

Definition at line 40 of file AddParticipantForm.inc.php.

AddParticipantForm::execute (   $request)
See Also
Form::execute()
Parameters
$requestPKPRequest
Returns
array ($userGroupId, $userId)

Definition at line 134 of file AddParticipantForm.inc.php.

AddParticipantForm::fetch (   $request)
See Also
Form::fetch()
Parameters
$requestPKPRequest

Definition at line 84 of file AddParticipantForm.inc.php.

AddParticipantForm::getStageId ( )

Get the stage ID

Returns
int

Definition at line 69 of file AddParticipantForm.inc.php.

& AddParticipantForm::getSubmission ( )

Get the Submission

Returns
Submission

Definition at line 61 of file AddParticipantForm.inc.php.

AddParticipantForm::getUserGroups ( )

Get the user groups allowed for this grid

Definition at line 76 of file AddParticipantForm.inc.php.

AddParticipantForm::includeNotifyUsersListbuilder ( )

whether or not to include the Notify Users listbuilder true, by default.

Returns
boolean

Definition at line 156 of file AddParticipantForm.inc.php.

AddParticipantForm::readInputData ( )

Assign form data to user-submitted data. Can be overridden from subclasses.

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

AddParticipantForm::validate ( )

Validate form data.

Definition at line 120 of file AddParticipantForm.inc.php.

Member Data Documentation

AddParticipantForm::$_stageId

The stage Id

Definition at line 26 of file AddParticipantForm.inc.php.

Submission AddParticipantForm::$_submission

The submission associated with the submission contributor being edited *

Definition at line 23 of file AddParticipantForm.inc.php.

array AddParticipantForm::$_userGroups

Definition at line 32 of file AddParticipantForm.inc.php.


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