Public Member Functions | Public Attributes

AddParticipantForm Class Reference

Form for adding a stage participant. More...

List of all members.

Public Member Functions

 AddParticipantForm (&$monograph, $stageId, &$userGroups)
 execute ()
 fetch (&$request)
getMonograph ()
 getStageId ()
getUserGroups ()
 readInputData ()
 validate ()

Public Attributes

 $_monograph
 $_stageId
 $_userGroups

Detailed Description

Form for adding a stage participant.

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


Member Function Documentation

AddParticipantForm.AddParticipantForm ( &$  monograph,
stageId,
&$  userGroups 
)

Constructor.

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

AddParticipantForm.execute (  ) 

Save author

See also:
Form.execute()
Returns:
array($userGroupId, $userId)

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

References getMonograph().

AddParticipantForm.fetch ( &$  request  ) 

Fetch the form.

See also:
Form.fetch()

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

References getMonograph(), getStageId(), and getUserGroups().

& AddParticipantForm.getMonograph (  ) 

Get the Monograph

Returns:
Monograph

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

Referenced by execute(), fetch(), and validate().

AddParticipantForm.getStageId (  ) 

Get the stage ID

Returns:
int

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

Referenced by fetch().

& AddParticipantForm.getUserGroups (  ) 

Get the user groups allowed for this grid

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

Referenced by fetch().

AddParticipantForm.readInputData (  ) 

Assign form data to user-submitted data.

See also:
Form.readInputData()

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

AddParticipantForm.validate (  ) 

Validate the form

See also:
Form.validate()

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

References getMonograph().


Member Data Documentation

AddParticipantForm.$_monograph

The monograph associated with the submission contributor being edited

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

AddParticipantForm.$_stageId

The stage Id

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

AddParticipantForm.$_userGroups

UserGroups

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


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