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

Public Member Functions

 canDelete ()
 
 canViewNotes ()
 
 getStageId ()
 
 initialize ($request, $template= 'controllers/grid/gridRow.tpl')
 
 SubmissionFilesGridRow ($canDelete, $canViewNotes, $stageId=null)
 
- 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)
 

Additional Inherited Members

- 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

Handle submission file grid row requests.

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

Member Function Documentation

SubmissionFilesGridRow::canDelete ( )

Can the user delete files from this grid?

Returns
boolean

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

SubmissionFilesGridRow::canViewNotes ( )

Can the user view file notes on this grid?

Returns
boolean

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

SubmissionFilesGridRow::getStageId ( )

Get the stage id, if any.

Returns
int

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

Referenced by AuthorSignoffFilesGridRow\initialize(), and initialize().

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

Subclasses can override this method to configure the handler.

NB: This method will be called after validation and authorization.

Parameters
$requestPKPRequest
$argsarray

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

References GridRow\addAction(), and getStageId().

SubmissionFilesGridRow::SubmissionFilesGridRow (   $canDelete,
  $canViewNotes,
  $stageId = null 
)

Constructor $canDelete boolean $canViewNotes boolean $stageId int (optional)

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


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