Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
ReviewerReviewAttachmentGridDataProvider Class Reference

Inherits SubmissionFilesGridDataProvider.

Public Member Functions

 _getReviewId ()
 
 getAddFileAction ($request)
 
 getAuthorizationPolicy ($request, $args, $roleAssignments)
 
 getRequestArgs ()
 
 loadData ()
 
 ReviewerReviewAttachmentGridDataProvider ()
 
- Public Member Functions inherited from SubmissionFilesGridDataProvider
 getAddFileAction ($request)
 
 getAuthorizationPolicy ($request, $args, $roleAssignments)
 
 getFileStage ()
 
 getRequestArgs ()
 
 getStageId ()
 
 loadData ()
 
 setStageId ($stageId)
 
 SubmissionFilesGridDataProvider ($fileStage, $viewableOnly=false)
 
- Public Member Functions inherited from FilesGridDataProvider
 FilesGridDataProvider ()
 
 getAddFileAction ($request)
 
 getSelectAction ($request)
 
getSubmission ()
 
 getUploaderGroupIds ()
 
 getUploaderRoles ()
 
prepareSubmissionFileData (&$revisions, $viewableOnly=false)
 
 setUploaderGroupIds ($uploaderGroupIds)
 
 setUploaderRoles ($roleAssignments)
 
 setViewableOnly ($viewableOnly)
 
- Public Member Functions inherited from GridDataProvider
 getAuthorizationPolicy ($request, $args, $roleAssignments)
 
getAuthorizedContextObject ($assocType)
 
 getRequestArgs ()
 
 GridDataProvider ()
 
 hasAuthorizedContextObject ($assocType)
 
 loadData ()
 
 setAuthorizedContext (&$authorizedContext)
 

Detailed Description

Provide the reviewers access to their own review attachments data for grids.

Definition at line 18 of file ReviewerReviewAttachmentGridDataProvider.inc.php.

Member Function Documentation

ReviewerReviewAttachmentGridDataProvider::_getReviewId ( )

Get the review id.

Returns
integer

Definition at line 120 of file ReviewerReviewAttachmentGridDataProvider.inc.php.

ReviewerReviewAttachmentGridDataProvider::getAddFileAction (   $request)

Configures and returns the action to add a file.

NB: Must be overridden by subclasses (if implemented).

Parameters
$requestRequest
Returns
AddFileLinkAction

Definition at line 99 of file ReviewerReviewAttachmentGridDataProvider.inc.php.

ReviewerReviewAttachmentGridDataProvider::getAuthorizationPolicy (   $request,
  $args,
  $roleAssignments 
)

Get the authorization policy.

Parameters
$requestPKPRequest
$argsarray
$roleAssignmentsarray
Returns
PolicySet

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

References FilesGridDataProvider\setUploaderRoles().

ReviewerReviewAttachmentGridDataProvider::getRequestArgs ( )

Get an array with all request parameters necessary to uniquely identify the data selection of this data provider.

Returns
array

Definition at line 71 of file ReviewerReviewAttachmentGridDataProvider.inc.php.

ReviewerReviewAttachmentGridDataProvider::loadData ( )

Retrieve the data to load into the grid.

Returns
array

Definition at line 84 of file ReviewerReviewAttachmentGridDataProvider.inc.php.

ReviewerReviewAttachmentGridDataProvider::ReviewerReviewAttachmentGridDataProvider ( )

Constructor

Definition at line 28 of file ReviewerReviewAttachmentGridDataProvider.inc.php.


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