PKPFileUploadWizardHandler::startWizard PHP Метод

startWizard() публичный Метод

Displays the file upload wizard.
public startWizard ( $args, $request ) : JSONMessage
$args array
$request Request
Результат JSONMessage JSON object
    function startWizard($args, $request)
    {
        $templateMgr = TemplateManager::getManager($request);
        $reviewRound = $this->getReviewRound();
        $templateMgr->assign(array('submissionId' => $this->getSubmission()->getId(), 'stageId' => $this->getStageId(), 'uploaderRoles' => implode('-', (array) $this->getUploaderRoles()), 'uploaderGroupIds' => implode('-', (array) $this->getUploaderGroupIds()), 'fileStage' => $this->getFileStage(), 'isReviewer' => $request->getUserVar('isReviewer'), 'revisionOnly' => $this->getRevisionOnly(), 'reviewRoundId' => is_a($reviewRound, 'ReviewRound') ? $reviewRound->getId() : null, 'revisedFileId' => $this->getRevisedFileId(), 'assocType' => $this->getAssocType(), 'assocId' => $this->getAssocId(), 'dependentFilesOnly' => $request->getUserVar('dependentFilesOnly')));
        return $templateMgr->fetchJson('controllers/wizard/fileUpload/fileUploadWizard.tpl');
    }