= 1); $actionArgs['uploaderRoles'] = implode('-', (array) $uploaderRoles); // Instantiate the file upload modal. $dispatcher = $request->getDispatcher(); $modal = new WizardModal( $dispatcher->url( $request, PKPApplication::ROUTE_COMPONENT, null, 'wizard.fileUpload.FileUploadWizardHandler', 'startWizard', null, $actionArgs ), $wizardTitle, 'modal_add_file' ); // Configure the link action. parent::__construct('addFile', $modal, $buttonLabel, 'add'); } }