PHP Class SelectableSubmissionFileListCategoryGridHandler, pkp-lib

Inheritance: extends CategoryGridHandler
显示文件 Open project: pkp/pkp-lib Class Usage Examples

Public Properties

Property Type Description
$_capabilities FilesGridCapabilities
$_stageId integer

Public Methods

Method Description
__construct ( $dataProvider, $stageId, $capabilities ) Constructor
authorize ( $request, &$args, $roleAssignments )
getCapabilities ( ) : FilesGridCapabilities Get grid capabilities object.
getFilesToDownload ( $request ) : array Get all files of this grid to download.
getFilterSelectionData ( $request )
getSelectName ( ) : string Get the selection name.
getStageId ( ) : integer Get the workflow stage id.
getSubmission ( ) : Submission Get the authorized submission.
initFeatures ( $request, $args )
initialize ( $request )
isDataElementInCategorySelected ( $categoryDataId, &$gridDataElement )

Protected Methods

Method Description
getCategoryRowInstance ( )
getFilterForm ( )
getRowInstance ( )
isFilterFormCollapsible ( )
loadData ( $request, $filter )

Method Details

__construct() public method

Constructor
public __construct ( $dataProvider, $stageId, $capabilities )
$dataProvider GridDataProvider
$stageId integer One of the WORKFLOW_STAGE_ID_* constants.
$capabilities integer A bit map with zero or more FILE_GRID_* capabilities set.

authorize() public method

public authorize ( $request, &$args, $roleAssignments )

getCapabilities() public method

Get grid capabilities object.
public getCapabilities ( ) : FilesGridCapabilities
return FilesGridCapabilities

getCategoryRowInstance() protected method

protected getCategoryRowInstance ( )

getFilesToDownload() public method

Get all files of this grid to download.
public getFilesToDownload ( $request ) : array
$request Request
return array

getFilterForm() protected method

protected getFilterForm ( )

getFilterSelectionData() public method

public getFilterSelectionData ( $request )

getRowInstance() protected method

protected getRowInstance ( )

getSelectName() public method

Get the selection name.
public getSelectName ( ) : string
return string

getStageId() public method

Get the workflow stage id.
public getStageId ( ) : integer
return integer

getSubmission() public method

Get the authorized submission.
public getSubmission ( ) : Submission
return Submission

initFeatures() public method

public initFeatures ( $request, $args )

initialize() public method

public initialize ( $request )

isDataElementInCategorySelected() public method

public isDataElementInCategorySelected ( $categoryDataId, &$gridDataElement )

isFilterFormCollapsible() protected method

protected isFilterFormCollapsible ( )

loadData() protected method

protected loadData ( $request, $filter )

Property Details

$_capabilities public_oe property

public FilesGridCapabilities $_capabilities
return FilesGridCapabilities

$_stageId public_oe property

public int $_stageId
return integer