Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
SubmissionFilesUploadForm Class Reference
Inheritance diagram for SubmissionFilesUploadForm:
PKPSubmissionFilesUploadForm SubmissionFilesUploadBaseForm

Public Member Functions

 _logEvent ($request, $user, $submissionFile, $assocType, $revisedFileId, $fileStage)
 
 _uploadFile ($request, $user, $uploaderUserGroupId, $revisedFileId, $fileGenre, $assocType, $assocId)
 
 SubmissionFilesUploadForm ($request, $submissionId, $stageId, $uploaderRoles, $uploaderGroupIds, $fileStage, $revisionOnly=false, $reviewRound=null, $revisedFileId=null, $assocType=null, $assocId=null)
 
- Public Member Functions inherited from PKPSubmissionFilesUploadForm
 _logEvent ($request, $user, $submissionFile, $assocType, $revisedFileId, $fileStage)
 
_retrieveGenreList ($request)
 
 _uploadFile ($request, $user, $uploaderUserGroupId, $revisedFileId, $fileGenre, $assocType, $assocId)
 
execute ($request)
 
 fetch ($request)
 
 getUploaderGroupIds ()
 
 getUploaderRoles ()
 
 PKPSubmissionFilesUploadForm ($request, $submissionId, $stageId, $uploaderRoles, $uploaderGroupIds, $fileStage, $revisionOnly=false, $reviewRound=null, $revisedFileId=null, $assocType=null, $assocId=null)
 
 readInputData ()
 
 validate ($request)
 
- Public Member Functions inherited from SubmissionFilesUploadBaseForm
getSubmissionFiles ()
 
 SubmissionFilesUploadBaseForm ($request, $template, $submissionId, $stageId, $fileStage, $revisionOnly=false, $reviewRound=null, $revisedFileId=null, $assocType=null, $assocId=null)
 

Detailed Description

Form for adding/editing a submission file.

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

Member Function Documentation

SubmissionFilesUploadForm::_logEvent (   $request,
  $user,
  $submissionFile,
  $assocType,
  $revisedFileId,
  $fileStage 
)

Log the upload event. Must be overridden in subclasses.

Parameters
PKPRequest$request
PKPUser$user
SubmissionFile$submissionFile
int$assocType
int$revisedFileId
int$fileStage

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

References SubmissionFileLog\logEvent().

SubmissionFilesUploadForm::_uploadFile (   $request,
  $user,
  $uploaderUserGroupId,
  $revisedFileId,
  $fileGenre,
  $assocType,
  $assocId 
)

Upload the file in an app-specific manner.

Parameters
PKPRequest$request
PKPUser$user
$uploaderUserGroupIdint
$revisedFileIdint
$fileGenreint
$assocTypeint
$assocTypeint
Returns
SubmissionFile

Definition at line 54 of file SubmissionFilesUploadForm.inc.php.

SubmissionFilesUploadForm::SubmissionFilesUploadForm (   $request,
  $submissionId,
  $stageId,
  $uploaderRoles,
  $uploaderGroupIds,
  $fileStage,
  $revisionOnly = false,
  $reviewRound = null,
  $revisedFileId = null,
  $assocType = null,
  $assocId = null 
)

Constructor.

Parameters
$requestRequest
$submissionIdinteger
$uploaderRolesarray
$uploaderGroupIdsarray
$stageIdinteger One of the WORKFLOW_STAGE_ID_* constants.
$fileStageinteger
$revisionOnlyboolean
$stageIdinteger
$reviewRoundReviewRound
$revisedFileIdinteger

Definition at line 33 of file SubmissionFilesUploadForm.inc.php.


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