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

Public Member Functions

 _getSignoffStatus ($row)
 
 getCellActions ($request, $row)
 
 SignoffOnSignoffGridColumn ($title=null, $userIds=array(), $requestArgs, $flags=array())
 
- Public Member Functions inherited from BaseSignoffStatusColumn
 _getSignoffStatus ($row)
 
 BaseSignoffStatusColumn ($id= '', $title=null, $titleTranslated=null, $userIds, $requestArgs=array(), $flags=array())
 
 getCellActions ($request, $row)
 
 getRequestArgs ()
 
 getTemplateVarsFromRow ($row)
 
 getUserIds ()
 
- 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 grid column that displays the signoff status of a file.

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

Member Function Documentation

SignoffOnSignoffGridColumn::_getSignoffStatus (   $row)

Identify the signoff status of a row.

Parameters
$rowGridRow
Returns
string

Definition at line 94 of file SignoffOnSignoffGridColumn.inc.php.

References DAORegistry\getDAO(), and BaseSignoffStatusColumn\getUserIds().

Referenced by getCellActions().

SignoffOnSignoffGridColumn::getCellActions (   $request,
  $row 
)

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 34 of file SignoffOnSignoffGridColumn.inc.php.

References _getSignoffStatus(), and BaseSignoffStatusColumn\getRequestArgs().

SignoffOnSignoffGridColumn::SignoffOnSignoffGridColumn (   $title = null,
  $userIds = array(),
  $requestArgs,
  $flags = array() 
)

Constructor

Parameters
$titleThe title for the column
$requestArgsarray Parameters f5or cell actions.

Definition at line 24 of file SignoffOnSignoffGridColumn.inc.php.


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