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

Public Member Functions

 __construct ($submission, $stageId, $canAdminister=false)
 
 getRequestArgs ()
 
 getStageId ()
 
 getSubmission ()
 
 initialize ($request, $template=null)
 
- Public Member Functions inherited from GridRow
 __construct ()
 
 addAction ($action, $position=GRID_ACTION_POSITION_DEFAULT)
 
 getActions ($position=GRID_ACTION_POSITION_DEFAULT)
 
getData ()
 
 getGridId ()
 
 getIsModified ()
 
 getTemplate ()
 
 hasActions ()
 
 setData (&$data)
 
 setGridId ($gridId)
 
 setIsModified ($isModified)
 
 setRequestArgs ($requestArgs)
 
 setTemplate ($template)
 
- Public Member Functions inherited from GridBodyElement
 addFlag ($flag, $value=true)
 
 getCellProvider ()
 
 getFlag ($flag)
 
 getFlags ()
 
 getId ()
 
 hasFlag ($flag)
 
 setCellProvider ($cellProvider)
 
 setId ($id)
 

Data Fields

 $_canAdminister
 
 $_stageId
 
 $_submission
 
- 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

StageParticipant grid row definition.

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

Constructor & Destructor Documentation

◆ __construct()

StageParticipantGridRow::__construct (   $submission,
  $stageId,
  $canAdminister = false 
)

Constructor

Reimplemented from GridBodyElement.

Definition at line 40 of file StageParticipantGridRow.inc.php.

Member Function Documentation

◆ getRequestArgs()

StageParticipantGridRow::getRequestArgs ( )

Get the grid request parameters. These are the parameters that uniquely identify the data within a grid.

NB: You should make sure to authorize and/or validate parameters before you publish them through this interface. Callers will assume that data accessed through this method will not have to be sanitized.

The default implementation tries to retrieve request parameters from a data provider if there is one.

Returns
array

Reimplemented from GridRow.

Definition at line 167 of file StageParticipantGridRow.inc.php.

References GridBodyElement\getId(), and getSubmission().

◆ getStageId()

StageParticipantGridRow::getStageId ( )

Get the stage id for this row

Returns
int

Definition at line 160 of file StageParticipantGridRow.inc.php.

References $_stageId.

Referenced by initialize().

◆ getSubmission()

StageParticipantGridRow::getSubmission ( )

Get the submission for this row (already authorized)

Returns
Submission

Definition at line 152 of file StageParticipantGridRow.inc.php.

References $_submission.

Referenced by getRequestArgs(), and initialize().

◆ initialize()

StageParticipantGridRow::initialize (   $request,
  $template = null 
)

Initialize a row instance.

Subclasses can override this method.

Parameters
$requestPKPRequest
$templatestring

Reimplemented from GridRow.

Definition at line 55 of file StageParticipantGridRow.inc.php.

References $op, GridRow\addAction(), Validation\canAdminister(), DAORegistry\getDAO(), GridRow\getData(), GridBodyElement\getId(), getStageId(), getSubmission(), and Validation\isLoggedInAs().

Field Documentation

◆ $_canAdminister

boolean StageParticipantGridRow::$_canAdminister

Whether the user can admin this row

Definition at line 35 of file StageParticipantGridRow.inc.php.

◆ $_stageId

int StageParticipantGridRow::$_stageId

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

Referenced by getStageId().

◆ $_submission

Submission StageParticipantGridRow::$_submission

Definition at line 23 of file StageParticipantGridRow.inc.php.

Referenced by getSubmission().


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