Open Journal Systems  3.3.0
SubmissionFilesGridRow Class Reference
Inheritance diagram for SubmissionFilesGridRow:
GridRow GridBodyElement

Public Member Functions

 __construct ($capabilities=null, $stageId=null)
 
 canDelete ()
 
 canEdit ()
 
 canViewNotes ()
 
 getStageId ()
 
 initialize ($request, $template='controllers/grid/gridRow.tpl')
 
- Public Member Functions inherited from GridRow
 __construct ()
 
 addAction ($action, $position=GRID_ACTION_POSITION_DEFAULT)
 
 getActions ($position=GRID_ACTION_POSITION_DEFAULT)
 
getData ()
 
 getGridId ()
 
 getIsModified ()
 
 getRequestArgs ()
 
 getTemplate ()
 
 hasActions ()
 
 setData (&$data)
 
 setGridId ($gridId)
 
 setIsModified ($isModified)
 
 setRequestArgs ($requestArgs)
 
 setTemplate ($template)
 
- Public Member Functions inherited from GridBodyElement
 __construct ($id='', $cellProvider=null, $flags=array())
 
 addFlag ($flag, $value=true)
 
 getCellProvider ()
 
 getFlag ($flag)
 
 getFlags ()
 
 getId ()
 
 hasFlag ($flag)
 
 setCellProvider ($cellProvider)
 
 setId ($id)
 

Data Fields

 $_capabilities
 
 $_stageId
 
- Data Fields inherited from GridRow
 $_actions = array(GRID_ACTION_POSITION_DEFAULT => array())
 
 $_data
 
 $_gridId
 
 $_isModified
 
 $_requestArgs
 
 $_template
 
- Data Fields inherited from GridBodyElement
 $_cellProvider
 
 $_flags
 
 $_id
 

Detailed Description

Handle submission file grid row requests.

Definition at line 19 of file SubmissionFilesGridRow.inc.php.

Constructor & Destructor Documentation

◆ __construct()

SubmissionFilesGridRow::__construct (   $capabilities = null,
  $stageId = null 
)

Constructor

Parameters
$capabilitiesFilesGridCapabilities
$stageIdint Stage ID (optional)

Definition at line 37 of file SubmissionFilesGridRow.inc.php.

Member Function Documentation

◆ canDelete()

SubmissionFilesGridRow::canDelete ( )

Can the user delete files from this grid?

Returns
boolean

Definition at line 51 of file SubmissionFilesGridRow.inc.php.

Referenced by initialize().

◆ canEdit()

SubmissionFilesGridRow::canEdit ( )

Can the user manage files in this grid?

Returns
boolean

Definition at line 67 of file SubmissionFilesGridRow.inc.php.

Referenced by initialize().

◆ canViewNotes()

SubmissionFilesGridRow::canViewNotes ( )

Can the user view file notes on this grid?

Returns
boolean

Definition at line 59 of file SubmissionFilesGridRow.inc.php.

Referenced by initialize().

◆ getStageId()

SubmissionFilesGridRow::getStageId ( )

Get the stage id, if any.

Returns
int Stage ID

Definition at line 75 of file SubmissionFilesGridRow.inc.php.

References $_stageId.

Referenced by initialize().

◆ initialize()

SubmissionFilesGridRow::initialize (   $request,
  $template = 'controllers/grid/gridRow.tpl' 
)

Initialize a row instance.

Subclasses can override this method.

Parameters
$requestPKPRequest
$templatestring

Reimplemented from GridRow.

Definition at line 85 of file SubmissionFilesGridRow.inc.php.

References GridRow\addAction(), canDelete(), canEdit(), canViewNotes(), GridRow\getData(), and getStageId().

Field Documentation

◆ $_capabilities

FilesGridCapabilities SubmissionFilesGridRow::$_capabilities

Definition at line 24 of file SubmissionFilesGridRow.inc.php.

◆ $_stageId

int SubmissionFilesGridRow::$_stageId

Definition at line 30 of file SubmissionFilesGridRow.inc.php.

Referenced by getStageId().


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