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

Public Member Functions

 _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 for a user group/signoff column.

Definition at line 17 of file BaseSignoffStatusColumn.inc.php.

Member Function Documentation

BaseSignoffStatusColumn::_getSignoffStatus (   $row)

Identify the signoff status of a row.

Parameters
$rowGridRow
Returns
string

Definition at line 108 of file BaseSignoffStatusColumn.inc.php.

Referenced by getUserIds().

BaseSignoffStatusColumn::BaseSignoffStatusColumn (   $id = '',
  $title = null,
  $titleTranslated = null,
  $userIds,
  $requestArgs = array(),
  $flags = array() 
)

Constructor

Parameters
$idstring
$titlestring Localization key
$titleTranslated
$requestArgsarray
$flagsarray

Definition at line 38 of file BaseSignoffStatusColumn.inc.php.

BaseSignoffStatusColumn::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 95 of file BaseSignoffStatusColumn.inc.php.

BaseSignoffStatusColumn::getRequestArgs ( )

Get the cell action request parameters.

Returns
array

Definition at line 63 of file BaseSignoffStatusColumn.inc.php.

Referenced by SignoffOnSignoffGridColumn\getCellActions().

BaseSignoffStatusColumn::getTemplateVarsFromRow (   $row)

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

Parameters
$rowGridRow

Definition at line 84 of file BaseSignoffStatusColumn.inc.php.

BaseSignoffStatusColumn::getUserIds ( )

Get the array of user group ids relevant for this column.

Returns
array

Definition at line 71 of file BaseSignoffStatusColumn.inc.php.

References _getSignoffStatus().

Referenced by SignoffOnSignoffGridColumn\_getSignoffStatus().


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