Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
SubmissionDocumentsFilesGridDataProvider Class Reference
Inheritance diagram for SubmissionDocumentsFilesGridDataProvider:
CategoryGridDataProvider GridDataProvider

Public Member Functions

 getAuthorizationPolicy ($request, $args, $roleAssignments)
 
 getCategoryData (&$fileType, $filter=null)
 
 getRequestArgs ()
 
getSubmission ()
 
 SubmissionDocumentsFilesGridDataProvider ()
 
- Public Member Functions inherited from CategoryGridDataProvider
 CategoryGridDataProvider ()
 
getCategoryData ($categoryDataElement, $filter=null)
 
 getDataProvider ()
 
 setAuthorizedContext (&$authorizedContext)
 
 setDataProvider ($dataProvider)
 
- Public Member Functions inherited from GridDataProvider
 getAuthorizationPolicy ($request, $args, $roleAssignments)
 
getAuthorizedContextObject ($assocType)
 
 getRequestArgs ()
 
 GridDataProvider ()
 
 hasAuthorizedContextObject ($assocType)
 
 loadData ()
 
 setAuthorizedContext (&$authorizedContext)
 

Detailed Description

The base data provider for the submission documents library files grid.

Definition at line 17 of file SubmissionDocumentsFilesGridDataProvider.inc.php.

Member Function Documentation

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

Get the authorization policy.

Parameters
$requestPKPRequest
$argsarray
$roleAssignmentsarray
Returns
PolicySet

Definition at line 29 of file SubmissionDocumentsFilesGridDataProvider.inc.php.

SubmissionDocumentsFilesGridDataProvider::getCategoryData ( $fileType,
  $filter = null 
)

Fetch the contents of a category.

Parameters
$categoryDataElementmixed
Returns
array

Definition at line 60 of file SubmissionDocumentsFilesGridDataProvider.inc.php.

References DAORegistry\getDAO(), and getSubmission().

SubmissionDocumentsFilesGridDataProvider::getRequestArgs ( )

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

Returns
array

Definition at line 50 of file SubmissionDocumentsFilesGridDataProvider.inc.php.

References getSubmission().

& SubmissionDocumentsFilesGridDataProvider::getSubmission ( )

Get the authorized submission.

Returns
Submission

Definition at line 43 of file SubmissionDocumentsFilesGridDataProvider.inc.php.

References GridDataProvider\getAuthorizedContextObject().

Referenced by getCategoryData(), and getRequestArgs().

SubmissionDocumentsFilesGridDataProvider::SubmissionDocumentsFilesGridDataProvider ( )

Constructor

Definition at line 22 of file SubmissionDocumentsFilesGridDataProvider.inc.php.


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