Public Member Functions

BaseAddFileLinkAction Class Reference
[Controllers_api_file_linkAction]

Abstract base class for file upload actions. More...

Inheritance diagram for BaseAddFileLinkAction:
AddFileLinkAction AddRevisionLinkAction

List of all members.

Public Member Functions

 BaseAddFileLinkAction (&$request, $monographId, $stageId, $uploaderRoles, $actionArgs, $wizardTitle, $buttonLabel)

Detailed Description

Abstract base class for file upload actions.

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


Member Function Documentation

BaseAddFileLinkAction.BaseAddFileLinkAction ( &$  request,
monographId,
stageId,
uploaderRoles,
actionArgs,
wizardTitle,
buttonLabel 
)

Constructor

Parameters:
$request Request
$monographId integer The monograph the file should be uploaded to.
$stageId integer The workflow stage in which the file uploader is being instantiated (one of the WORKFLOW_STAGE_ID_* constants).
$uploaderRoles array The ids of all roles allowed to upload in the context of this action.
$actionArgs array The arguments to be passed into the file upload wizard.
$wizardTitle string The title to be displayed in the file upload wizard.
$buttonLabel string The link action's button label.

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

Referenced by AddFileLinkAction.AddFileLinkAction(), and AddRevisionLinkAction.AddRevisionLinkAction().


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