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

Public Member Functions

 _getIncludeNotes ()
 
 _getStageId ()
 
 FileNameGridColumn ($includeNotes=true, $stageId=null, $removeHistoryTab=false)
 
 getCellActions ($request, $row, $position=GRID_ACTION_POSITION_DEFAULT)
 
 getTemplateVarsFromRow ($row)
 
- Public Member Functions inherited from GridColumn
 getCellActions ($request, $row, $position=GRID_ACTION_POSITION_DEFAULT)
 
getCellProvider ()
 
 getLocalizedTitle ()
 
 getTemplate ()
 
 getTitle ()
 
 GridColumn ($id= '', $title=null, $titleTranslated=null, $template= 'controllers/grid/gridCell.tpl', $cellProvider=null, $flags=array())
 
 setTemplate ($template)
 
 setTitle ($title)
 
 setTitleTranslated ($titleTranslated)
 
- 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 GridColumn
 $_template
 
 $_title
 
 $_titleTranslated
 
- Public Attributes inherited from GridBodyElement
 $_cellProvider
 
 $_flags
 
 $_id
 

Detailed Description

Implements a file name column.

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

Member Function Documentation

FileNameGridColumn::_getIncludeNotes ( )

Determine whether or not submission note status should be included.

Definition at line 106 of file FileNameGridColumn.inc.php.

FileNameGridColumn::_getStageId ( )

Get stage id, if any.

Returns
mixed int or null

Definition at line 114 of file FileNameGridColumn.inc.php.

FileNameGridColumn::FileNameGridColumn (   $includeNotes = true,
  $stageId = null,
  $removeHistoryTab = false 
)

Constructor

Parameters
$includeNotesboolean
$stageIdint (optional)
$removeHistoryTabboolean (optional) Open the information center without the history tab.

Definition at line 44 of file FileNameGridColumn.inc.php.

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.

Parameters
$rowGridRow The row for which actions are being requested.
Returns
array An array of LinkActions for the cell.

Definition at line 80 of file FileNameGridColumn.inc.php.

FileNameGridColumn::getTemplateVarsFromRow (   $row)

Method expected by ColumnBasedGridCellProvider to render a cell in this column.

See Also
GridCellProvider::getTemplateVarsFromRowColumn()

Definition at line 66 of file FileNameGridColumn.inc.php.


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