Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
ManageSubmissionFilesForm Class Reference
Inheritance diagram for ManageSubmissionFilesForm:
Form ManageFinalDraftFilesForm ManageReviewFilesForm

Public Member Functions

 execute ($args, $request, $stageSubmissionFiles, $fileStage)
 
 getSubmissionId ()
 
 initData ($args, $request)
 
 ManageSubmissionFilesForm ($submissionId, $template)
 
 readInputData ()
 
- Public Member Functions inherited from Form
 _decomposeArray ($name, $value, $stack)
 
 addCheck ($formValidator)
 
 addError ($field, $message)
 
 addErrorField ($field)
 
 display ($request=null, $template=null)
 
 execute ($object=null)
 
 fetch ($request, $template=null, $display=false)
 
 Form ($template=null, $callHooks=true, $requiredLocale=null, $supportedLocales=null)
 
 getData ($key)
 
 getDefaultFormLocale ()
 
 getErrorsArray ()
 
 getFormLocale ()
 
 getLocaleFieldNames ()
 
 getRequiredLocale ()
 
 getTemplate ()
 
 initData ()
 
 isLocaleResubmit ()
 
 isValid ()
 
 readInputData ()
 
 readUserDateVars ($vars)
 
 readUserVars ($vars)
 
 setData ($key, $value)
 
 setTemplate ($template)
 
 smartyFormLanguageChooser ($params, &$smarty)
 
 validate ($callHooks=true)
 

Public Attributes

 $_submissionId
 
- Public Attributes inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 
 $requiredLocale
 
 $supportedLocales
 

Detailed Description

Form for add or removing files from a review.

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

Member Function Documentation

ManageSubmissionFilesForm::execute (   $args,
  $request,
  $stageSubmissionFiles,
  $fileStage 
)

Save review round files

Parameters
$argsarray
$requestPKPRequest array The files that belongs to a file stage that is currently being used by a grid inside this form.

Definition at line 77 of file ManageSubmissionFilesForm.inc.php.

ManageSubmissionFilesForm::getSubmissionId ( )

Get the submission id

Returns
int

Definition at line 46 of file ManageSubmissionFilesForm.inc.php.

References Form\setData().

ManageSubmissionFilesForm::initData (   $args,
  $request 
)

Initialize variables

Parameters
$argsarray
$requestPKPRequest

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

References Form\readUserVars().

Referenced by FinalDraftFilesGridHandler\selectFiles().

ManageSubmissionFilesForm::ManageSubmissionFilesForm (   $submissionId,
  $template 
)

Constructor.

Parameters
$submissionIdint Submission ID
$templatestring Template filename

Definition at line 31 of file ManageSubmissionFilesForm.inc.php.

ManageSubmissionFilesForm::readInputData ( )

Assign form data to user-submitted data.

See Also
Form::readInputData()

Definition at line 66 of file ManageSubmissionFilesForm.inc.php.

References DAORegistry\getDAO(), and Form\getData().

Referenced by ManageFinalDraftFilesGridHandler\updateFinalDraftFiles().

Member Data Documentation

int ManageSubmissionFilesForm::$_submissionId

Definition at line 24 of file ManageSubmissionFilesForm.inc.php.


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