Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
StageParticipantGridRow Class Reference
Inheritance diagram for StageParticipantGridRow:
GridRow GridBodyElement

Public Member Functions

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

Public Attributes

 $_canAdminister
 
- Public Attributes inherited from GridRow
 $_actions = array(GRID_ACTION_POSITION_DEFAULT => array())
 
 $_data
 
 $_gridId
 
 $_isModified
 
 $_noActionMessage
 
 $_template
 
- Public Attributes inherited from GridBodyElement
 $_cellProvider
 
 $_flags
 
 $_id
 

Detailed Description

StageParticipant grid row definition.

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

Member Function Documentation

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

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

StageParticipantGridRow::getStageId ( )

Get the stage id for this row

Returns
int

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

& StageParticipantGridRow::getSubmission ( )

Get the submission for this row (already authorized)

Returns
Submission

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

StageParticipantGridRow::initialize (   $request)

Initialize a row instance.

Subclasses can override this method.

Parameters
$requestRequest
$templatestring

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

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

Constructor

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

References GridBodyElement\getId().

Member Data Documentation

boolean StageParticipantGridRow::$_canAdminister

Whether the user can admin this row

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


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