Open Journal Systems  3.3.0
BaseAddFileLinkAction Class Reference
Inheritance diagram for BaseAddFileLinkAction:
LinkAction AddFileLinkAction AddRevisionLinkAction

Public Member Functions

 __construct ($request, $submissionId, $stageId, $uploaderRoles, $actionArgs, $wizardTitle, $buttonLabel)
 
- Public Member Functions inherited from LinkAction
 __construct ($id, $actionRequest, $title=null, $image=null, $toolTip=null)
 
 getActionRequest ()
 
 getHoverTitle ()
 
 getId ()
 
 getImage ()
 
 getTitle ()
 
 getToolTip ()
 
 setTitle ($title)
 

Additional Inherited Members

- Data Fields inherited from LinkAction
 $_actionRequest
 
 $_id
 
 $_image
 
 $_title
 
 $_toolTip
 

Detailed Description

Abstract base class for file upload actions.

Definition at line 21 of file BaseAddFileLinkAction.inc.php.

Constructor & Destructor Documentation

◆ __construct()

BaseAddFileLinkAction::__construct (   $request,
  $submissionId,
  $stageId,
  $uploaderRoles,
  $actionArgs,
  $wizardTitle,
  $buttonLabel 
)

Constructor

Parameters
$requestRequest
$submissionIdinteger The submission the file should be uploaded to.
$stageIdinteger The workflow stage in which the file uploader is being instantiated (one of the WORKFLOW_STAGE_ID_* constants).
$uploaderRolesarray The ids of all roles allowed to upload in the context of this action.
$actionArgsarray The arguments to be passed into the file upload wizard.
$wizardTitlestring The title to be displayed in the file upload wizard.
$buttonLabelstring The link action's button label.

Definition at line 39 of file BaseAddFileLinkAction.inc.php.


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