first commit
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file controllers/grid/files/copyedit/form/ManageCopyeditFilesForm.php
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2003-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* @class ManageCopyeditFilesForm
|
||||
*
|
||||
* @ingroup controllers_grid_files_copyedit
|
||||
*
|
||||
* @brief Form to add files to the copyedited files grid
|
||||
*/
|
||||
|
||||
namespace PKP\controllers\grid\files\copyedit\form;
|
||||
|
||||
use PKP\controllers\grid\files\form\ManageSubmissionFilesForm;
|
||||
use PKP\submissionFile\SubmissionFile;
|
||||
|
||||
class ManageCopyeditFilesForm extends ManageSubmissionFilesForm
|
||||
{
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param int $submissionId Submission ID.
|
||||
*/
|
||||
public function __construct($submissionId)
|
||||
{
|
||||
parent::__construct($submissionId, 'controllers/grid/files/copyedit/manageCopyeditFiles.tpl');
|
||||
}
|
||||
|
||||
/**
|
||||
* Save selection of copyedited files
|
||||
*
|
||||
* @param array $stageSubmissionFiles List of submission files in this stage.
|
||||
* @param int $fileStage SubmissionFile::SUBMISSION_FILE_...
|
||||
*/
|
||||
public function execute($stageSubmissionFiles = null, $fileStage = null, ...$functionArgs)
|
||||
{
|
||||
parent::execute($stageSubmissionFiles, SubmissionFile::SUBMISSION_FILE_COPYEDIT);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user