|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct ($includeNotes=true, $stageId=null, $removeHistoryTab=false) | |
| _getIncludeNotes () | |
| _getStageId () | |
| getCellActions ($request, $row, $position=GRID_ACTION_POSITION_DEFAULT) | |
| getTemplateVarsFromRow ($row) | |
Public Member Functions inherited from GridColumn | |
| __construct ($id='', $title=null, $titleTranslated=null, $template=null, $cellProvider=null, $flags=array()) | |
| getCellProvider () | |
| getLocalizedTitle () | |
| getTemplate () | |
| getTitle () | |
| setTemplate ($template) | |
| setTitle ($title) | |
| setTitleTranslated ($titleTranslated) | |
Public Member Functions inherited from GridBodyElement | |
| addFlag ($flag, $value=true) | |
| getFlag ($flag) | |
| getFlags () | |
| getId () | |
| hasFlag ($flag) | |
| setCellProvider ($cellProvider) | |
| setId ($id) | |
Data Fields | |
| $_includeNotes | |
| $_removeHistoryTab | |
| $_stageId | |
Data Fields inherited from GridColumn | |
| $_template | |
| $_title | |
| $_titleTranslated | |
Data Fields inherited from GridBodyElement | |
| $_cellProvider | |
| $_flags | |
| $_id | |
Implements a file name column.
Definition at line 18 of file FileNameGridColumn.inc.php.
| FileNameGridColumn::__construct | ( | $includeNotes = true, |
|
$stageId = null, |
|||
$removeHistoryTab = false |
|||
| ) |
Constructor
| $includeNotes | boolean |
| $stageId | int (optional) |
| $removeHistoryTab | boolean (optional) Open the information center without the history tab. |
Reimplemented from GridBodyElement.
Definition at line 44 of file FileNameGridColumn.inc.php.
| FileNameGridColumn::_getIncludeNotes | ( | ) |
Determine whether or not submission note status should be included.
Definition at line 103 of file FileNameGridColumn.inc.php.
References $_includeNotes.
| FileNameGridColumn::_getStageId | ( | ) |
Get stage id, if any.
Definition at line 111 of file FileNameGridColumn.inc.php.
References $_stageId.
Referenced by getCellActions().
| FileNameGridColumn::getCellActions | ( | $request, | |
| $row, | |||
$position = GRID_ACTION_POSITION_DEFAULT |
|||
| ) |
Get cell actions for this column.
NB: Subclasses have to override this method to actually provide cell-specific actions. The default implementation returns an empty array.
| $row | GridRow The row for which actions are being requested. |
Reimplemented from GridColumn.
Definition at line 82 of file FileNameGridColumn.inc.php.
References _getStageId().
| FileNameGridColumn::getTemplateVarsFromRow | ( | $row | ) |
Method expected by ColumnBasedGridCellProvider to render a cell in this column.
Definition at line 66 of file FileNameGridColumn.inc.php.
| boolean FileNameGridColumn::$_includeNotes |
Definition at line 23 of file FileNameGridColumn.inc.php.
Referenced by _getIncludeNotes().
| boolean FileNameGridColumn::$_removeHistoryTab |
Definition at line 35 of file FileNameGridColumn.inc.php.
| int FileNameGridColumn::$_stageId |
Definition at line 29 of file FileNameGridColumn.inc.php.
Referenced by _getStageId().